Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001136/0.001136, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 171.8 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.52 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.0006173/0.1376, allocations: 310.1 kB / 0.5596 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.159e-05/0.1377, allocations: 7.938 kB / 0.5596 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.1377, allocations: 0 / 0.5596 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.1377, allocations: 3.984 kB / 0.5596 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1377, allocations: 0 / 0.5596 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.637e-05/0.1378, allocations: 0 / 0.5596 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.1378, allocations: 4 kB / 0.5596 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1379, allocations: 7.938 kB / 0.5596 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1379, allocations: 0 / 0.5596 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.771e-05/0.1379, allocations: 3.984 kB / 0.5596 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1379, allocations: 0 / 0.5596 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-06/0.1379, allocations: 0 / 0.5596 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-06/0.1379, allocations: 0 / 0.5596 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.138, allocations: 25.7 kB / 0.5597 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.275e-05/0.138, allocations: 4 kB / 0.5597 GB, free: 9.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.138, allocations: 0 / 0.5597 GB, free: 9.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.138, allocations: 0 / 0.5597 GB, free: 9.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.138, allocations: 4 kB / 0.5597 GB, free: 9.055 MB / 430.1 MB 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.000213/0.1383, allocations: 311.4 kB / 0.56 GB, free: 8.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1383, allocations: 8.031 kB / 0.56 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.1383, allocations: 0 / 0.56 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.1384, allocations: 159.1 kB / 0.5601 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1384, allocations: 0 / 0.5601 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1384, allocations: 7.938 kB / 0.5601 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.963e-05/0.1385, allocations: 25.7 kB / 0.5602 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1385, allocations: 3.953 kB / 0.5602 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1385, allocations: 4 kB / 0.5602 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1385, allocations: 0 / 0.5602 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.1386, allocations: 4 kB / 0.5602 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.1387, allocations: 149.7 kB / 0.5603 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.199e-05/0.1387, allocations: 14.58 kB / 0.5603 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.1388, allocations: 12.89 kB / 0.5603 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.1388, allocations: 0 / 0.5603 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1388, allocations: 38.56 kB / 0.5604 GB, free: 8.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1388, allocations: 0 / 0.5604 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.1389, allocations: 41.66 kB / 0.5604 GB, free: 8.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.139, allocations: 51.41 kB / 0.5605 GB, free: 8.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.332e-05/0.139, allocations: 93.84 kB / 0.5606 GB, free: 7.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.139, allocations: 25.7 kB / 0.5606 GB, free: 7.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.139, allocations: 80.14 kB / 0.5607 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1391, allocations: 128 / 0.5607 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-06/0.1391, allocations: 4 kB / 0.5607 GB, free: 7.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1392, allocations: 318.8 kB / 0.561 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1392, allocations: 11.88 kB / 0.561 GB, free: 7.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1392, allocations: 4 kB / 0.561 GB, free: 7.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.613e-05/0.1392, allocations: 0 / 0.561 GB, free: 7.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1392, allocations: 0 / 0.561 GB, free: 7.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.822e-05/0.1393, allocations: 33.7 kB / 0.561 GB, free: 7.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1393, allocations: 4 kB / 0.561 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1393, allocations: 8.078 kB / 0.561 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1393, allocations: 0 / 0.561 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.1394, allocations: 3.984 kB / 0.561 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1394, allocations: 7.953 kB / 0.561 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.1394, allocations: 3.906 kB / 0.561 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1394, allocations: 0 / 0.561 GB, free: 7.438 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.1395, allocations: 105.8 kB / 0.5611 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.1395, allocations: 0 / 0.5611 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.1395, allocations: 7.125 kB / 0.5611 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1395, allocations: 4 kB / 0.5611 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1395, allocations: 4 kB / 0.5612 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1395, allocations: 7.891 kB / 0.5612 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.1396, allocations: 145.7 kB / 0.5613 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1396, allocations: 0 / 0.5613 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.1396, allocations: 0 / 0.5613 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1397, allocations: 4 kB / 0.5613 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.1397, allocations: 0 / 0.5613 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1397, allocations: 0 / 0.5613 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1397, allocations: 3.984 kB / 0.5613 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.207e-05/0.1397, allocations: 65.08 kB / 0.5614 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.1398, allocations: 77.11 kB / 0.5614 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.1398, allocations: 4 kB / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.141e-06/0.1398, allocations: 0 / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.1398, allocations: 0 / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.1398, allocations: 0 / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.102e-05/0.1399, allocations: 75.28 kB / 0.5615 GB, free: 6.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 0.5615 GB, free: 6.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001736/0.14, allocations: 4.031 kB / 0.5615 GB, free: 6.848 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.828e-05/0.1401, allocations: 103.4 kB / 0.5616 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.165e-05/0.1402, allocations: 4 kB / 0.5616 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1402, allocations: 3.938 kB / 0.5616 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.1402, allocations: 0 / 0.5616 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1403, allocations: 1.875 kB / 0.5616 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.1405, allocations: 90.81 kB / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1407, allocations: 0.6731 MB / 0.5624 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.1407, allocations: 4 kB / 0.5624 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.1407, allocations: 7.438 kB / 0.5624 GB, free: 5.898 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1408, allocations: 0 / 0.5624 GB, free: 5.898 MB / 430.1 MB Notification: Performance of Templates: time 0.001546/0.1423, allocations: 160.3 kB / 0.5625 GB, free: 5.746 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)