Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.656/1.656, allocations: 287.5 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 187.3 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 0.6299 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007538/0.0007538, allocations: 94.03 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 11.98 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5558/0.7343, allocations: 176.6 MB / 1.151 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009649/0.744, allocations: 6.509 MB / 1.157 GB, free: 5.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.7456, allocations: 42.28 kB / 1.158 GB, free: 5.246 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.7473, allocations: 476.9 kB / 1.158 GB, free: 4.855 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005839/0.7532, allocations: 1.644 MB / 1.16 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.7565, allocations: 1.076 MB / 1.161 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00434/0.7608, allocations: 3.217 MB / 1.164 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7621, allocations: 0.7491 MB / 1.165 GB, free: 492 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.7639, allocations: 0.9541 MB / 1.165 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.765, allocations: 0.7371 MB / 1.166 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.7651, allocations: 47.19 kB / 1.166 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.7681, allocations: 1.213 MB / 1.167 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.7684, allocations: 306.5 kB / 1.168 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.7688, allocations: 239 kB / 1.168 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.7707, allocations: 1.633 MB / 1.17 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7707, allocations: 1 kB / 1.17 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7707, allocations: 0 / 1.17 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.7707, allocations: 0 / 1.17 GB, free: 13.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003135/0.7739, allocations: 1.411 MB / 1.171 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7739, allocations: 9.375 kB / 1.171 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.7767, allocations: 0.6002 MB / 1.171 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.7788, allocations: 1.014 MB / 1.172 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/0.7799, allocations: 312.5 kB / 1.173 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.7801, allocations: 66.72 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.7827, allocations: 1.174 MB / 1.174 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7827, allocations: 3.938 kB / 1.174 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.7828, allocations: 28.55 kB / 1.174 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.7829, allocations: 32.95 kB / 1.174 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/0.7863, allocations: 1.33 MB / 1.175 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.7921, allocations: 2.958 MB / 1.178 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.7938, allocations: 0.7362 MB / 1.179 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007878/0.7946, allocations: 448.3 kB / 1.179 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/0.7955, allocations: 1.03 MB / 1.18 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009823/0.7965, allocations: 0.5298 MB / 1.181 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.755e-06/0.7965, allocations: 0 / 1.181 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002922/0.7994, allocations: 1.29 MB / 1.182 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.7995, allocations: 118.9 kB / 1.182 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8014, allocations: 1.218 MB / 1.183 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/0.8015, allocations: 38.48 kB / 1.184 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.8019, allocations: 425.7 kB / 1.184 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.8021, allocations: 197.8 kB / 1.184 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.8021, allocations: 10.84 kB / 1.184 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8023, allocations: 334 kB / 1.184 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.8036, allocations: 497.7 kB / 1.185 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.805, allocations: 0.6465 MB / 1.186 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.8074, allocations: 0.9865 MB / 1.186 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8074, allocations: 0 / 1.186 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003412/0.8108, allocations: 1.315 MB / 1.188 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.8109, allocations: 34.92 kB / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8109, allocations: 2.438 kB / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8109, allocations: 5.438 kB / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/0.8119, allocations: 225.4 kB / 1.188 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.8119, allocations: 9.109 kB / 1.188 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8137, allocations: 309.1 kB / 1.188 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.8138, allocations: 38.38 kB / 1.188 GB, free: 1.262 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0005296/0.8144, allocations: 327.4 kB / 1.189 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.8145, allocations: 115.8 kB / 1.189 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8167, allocations: 1.064 MB / 1.19 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8168, allocations: 13.25 kB / 1.19 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8168, allocations: 2.656 kB / 1.19 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.8168, allocations: 3.984 kB / 1.19 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.8218, allocations: 3.234 MB / 1.193 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.8219, allocations: 8.031 kB / 1.193 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.8224, allocations: 133.6 kB / 1.193 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.8225, allocations: 10.97 kB / 1.193 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.8225, allocations: 25.77 kB / 1.193 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.8225, allocations: 18.8 kB / 1.193 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.8226, allocations: 11.47 kB / 1.193 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.8247, allocations: 1.326 MB / 1.195 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.8252, allocations: 334.3 kB / 1.195 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.8254, allocations: 21.72 kB / 1.195 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.8265, allocations: 125.8 kB / 1.195 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8266, allocations: 64.41 kB / 1.195 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.8267, allocations: 43.75 kB / 1.195 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00154/0.8283, allocations: 0.8751 MB / 1.196 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.8283, allocations: 4 kB / 1.196 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001047/0.8293, allocations: 305.4 kB / 1.196 GB, free: 12.16 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 0.0006509/0.83, allocations: 339.9 kB / 1.197 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.8325, allocations: 1.084 MB / 1.198 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.8325, allocations: 4 kB / 1.198 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/0.8334, allocations: 0.5399 MB / 1.198 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/0.8371, allocations: 0.5355 MB / 1.199 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.8412, allocations: 2.319 MB / 1.201 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.8419, allocations: 1.073 MB / 1.202 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001389/0.8433, allocations: 282.3 kB / 1.202 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.8436, allocations: 83.41 kB / 1.202 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.8436, allocations: 0 / 1.202 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of Templates: time 0.03602/0.8796, allocations: 20.88 MB / 1.223 GB, free: 1.105 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)