Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 104 kB / 16.36 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001889/0.224, allocations: 0.6055 MB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 3.501e-05/0.2241, allocations: 4 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.2241, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.2241, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.2241, allocations: 4 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.823e-05/0.2242, allocations: 3.938 kB / 0.7854 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.2243, allocations: 4 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.2243, allocations: 4 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.2243, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.638e-05/0.2244, allocations: 0 / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.2244, allocations: 4 kB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-06/0.2244, allocations: 0 / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.2244, allocations: 3.938 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.2244, allocations: 0 / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.309e-05/0.2245, allocations: 7.984 kB / 0.7854 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2245, allocations: 3.984 kB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2245, allocations: 0 / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2245, allocations: 7.938 kB / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002813/0.2248, allocations: 307.6 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2248, allocations: 8.031 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.2249, allocations: 0.9375 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.225, allocations: 164.4 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.225, allocations: 384 / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.225, allocations: 384 / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.2251, allocations: 30.25 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2251, allocations: 192 / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2251, allocations: 7.938 kB / 0.7859 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2251, allocations: 4 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.2251, allocations: 7.938 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.2253, allocations: 141.7 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/0.2253, allocations: 18.61 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.2253, allocations: 4.859 kB / 0.7861 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.2254, allocations: 0 / 0.7861 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2254, allocations: 46.61 kB / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2254, allocations: 0 / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.2255, allocations: 37.58 kB / 0.7862 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2256, allocations: 51.41 kB / 0.7862 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.2256, allocations: 89.86 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2256, allocations: 25.7 kB / 0.7863 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.2256, allocations: 80.14 kB / 0.7864 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2257, allocations: 128 / 0.7864 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.2257, allocations: 21.72 kB / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2258, allocations: 310.8 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.2258, allocations: 0 / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.2259, allocations: 3.984 kB / 0.7867 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.052e-05/0.2259, allocations: 8.859 kB / 0.7867 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2259, allocations: 0 / 0.7867 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.665e-05/0.2259, allocations: 41.58 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.226, allocations: 12.09 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.226, allocations: 4 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.226, allocations: 3.938 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.226, allocations: 0 / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2261, allocations: 4 kB / 0.7868 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.2261, allocations: 7.844 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.2261, allocations: 0 / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.2261, allocations: 109.8 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.2261, allocations: 0 / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.2262, allocations: 11.06 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2262, allocations: 0 / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2262, allocations: 4 kB / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2262, allocations: 0 / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.2263, allocations: 145.7 kB / 0.787 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2263, allocations: 0 / 0.787 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.2263, allocations: 0 / 0.787 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2263, allocations: 7.984 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2263, allocations: 3.938 kB / 0.7871 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2263, allocations: 0 / 0.7871 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2263, allocations: 0 / 0.7871 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.731e-05/0.2264, allocations: 61.08 kB / 0.7871 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2264, allocations: 81.05 kB / 0.7872 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.2265, allocations: 7.938 kB / 0.7872 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.2265, allocations: 3.984 kB / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.2265, allocations: 0 / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-06/0.2265, allocations: 0 / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.2265, allocations: 75.28 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2265, allocations: 4.031 kB / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001776/0.2267, allocations: 0 / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.113e-05/0.2268, allocations: 99.25 kB / 0.7874 GB, free: 120 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.361e-05/0.2269, allocations: 4 kB / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2269, allocations: 0 / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.692e-06/0.2269, allocations: 3.938 kB / 0.7874 GB, free: 112 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.227, allocations: 4 kB / 0.7874 GB, free: 108 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3442/0.5713, allocations: 101.8 kB / 0.7875 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.5714, allocations: 0.6701 MB / 0.7881 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.5714, allocations: 10 kB / 0.7881 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.5715, allocations: 0 / 0.7881 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.001465/0.5729, allocations: 326 kB / 0.7885 GB, free: 48.03 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)