Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 96.58 kB / 15.69 MB, free: 480 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.001062/0.001062, allocations: 173.6 kB / 16.57 MB, free: 6.398 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6461/0.6461, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4131/0.545, allocations: 162 MB / 0.715 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009639/0.5546, allocations: 6.283 MB / 0.7211 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.5559, allocations: 39.69 kB / 0.7212 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.5578, allocations: 0.6688 MB / 0.7218 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.5626, allocations: 1.671 MB / 0.7235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.5665, allocations: 1.537 MB / 0.725 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.5696, allocations: 1.708 MB / 0.7266 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.5708, allocations: 0.7226 MB / 0.7273 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.5726, allocations: 0.8994 MB / 0.7282 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007937/0.5734, allocations: 0.5329 MB / 0.7287 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.5735, allocations: 40 kB / 0.7288 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.5761, allocations: 1.174 MB / 0.7299 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.5765, allocations: 283.1 kB / 0.7302 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.5767, allocations: 241.1 kB / 0.7304 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.5785, allocations: 1.547 MB / 0.7319 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.5785, allocations: 0 / 0.7319 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5785, allocations: 0 / 0.7319 GB, free: 6.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.5786, allocations: 0 / 0.7319 GB, free: 6.602 MB / 0.545 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.002838/0.5814, allocations: 1.38 MB / 0.7333 GB, free: 5.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.5814, allocations: 12.03 kB / 0.7333 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.5844, allocations: 0.6034 MB / 0.7339 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.5861, allocations: 0.9174 MB / 0.7348 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.5874, allocations: 321 kB / 0.7351 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5875, allocations: 64 kB / 0.7352 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5899, allocations: 1.148 MB / 0.7363 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5899, allocations: 0 / 0.7363 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.59, allocations: 28 kB / 0.7363 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.5901, allocations: 33.3 kB / 0.7363 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.5933, allocations: 1.254 MB / 0.7376 GB, free: 0.7188 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.5991, allocations: 3.262 MB / 0.7407 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.6008, allocations: 0.6998 MB / 0.7414 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.6013, allocations: 0.6692 MB / 0.7421 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000966/0.6023, allocations: 0.5143 MB / 0.7426 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=57): time 4.028e-06/0.6023, allocations: 0 / 0.7426 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57): time 0.002968/0.6053, allocations: 1.328 MB / 0.7439 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6054, allocations: 140.9 kB / 0.744 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.6074, allocations: 1.215 MB / 0.7452 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.6074, allocations: 45.69 kB / 0.7452 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.6078, allocations: 437.5 kB / 0.7457 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.608, allocations: 189.3 kB / 0.7458 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.608, allocations: 12 kB / 0.7459 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6081, allocations: 326 kB / 0.7462 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.6095, allocations: 488.9 kB / 0.7466 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.611, allocations: 0.6367 MB / 0.7472 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.6124, allocations: 0.5346 MB / 0.7478 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6124, allocations: 0 / 0.7478 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00323/0.6156, allocations: 1.279 MB / 0.749 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.6157, allocations: 37.97 kB / 0.7491 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6157, allocations: 8 kB / 0.7491 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6157, allocations: 4 kB / 0.7491 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6167, allocations: 215.7 kB / 0.7493 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.6168, allocations: 15.88 kB / 0.7493 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6184, allocations: 306.8 kB / 0.7496 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.6185, allocations: 35.97 kB / 0.7496 GB, free: 3.938 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.0004485/0.6189, allocations: 329.3 kB / 0.7499 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.6191, allocations: 118.5 kB / 0.75 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.6212, allocations: 1.006 MB / 0.751 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6212, allocations: 11.92 kB / 0.751 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6212, allocations: 8 kB / 0.751 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6212, allocations: 3.953 kB / 0.751 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.6258, allocations: 3.17 MB / 0.7541 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6259, allocations: 15.97 kB / 0.7542 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.6265, allocations: 123.8 kB / 0.7543 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.6265, allocations: 8 kB / 0.7543 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.6265, allocations: 27.98 kB / 0.7543 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6266, allocations: 12 kB / 0.7543 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6266, allocations: 11.94 kB / 0.7543 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6289, allocations: 1.753 MB / 0.756 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.6294, allocations: 335.8 kB / 0.7564 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6296, allocations: 23.98 kB / 0.7564 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6308, allocations: 123.9 kB / 0.7565 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.6309, allocations: 63.72 kB / 0.7566 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.631, allocations: 51.95 kB / 0.7566 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001559/0.6326, allocations: 0.8833 MB / 0.7575 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6326, allocations: 0 / 0.7575 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001009/0.6336, allocations: 303.8 kB / 0.7578 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.0006174/0.6342, allocations: 350.8 kB / 0.7581 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.6366, allocations: 1.052 MB / 0.7591 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6366, allocations: 0 / 0.7591 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/0.6375, allocations: 0.5211 MB / 0.7596 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.6399, allocations: 0.5249 MB / 0.7602 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.6433, allocations: 2.279 MB / 0.7624 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.6439, allocations: 1.089 MB / 0.7634 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6449, allocations: 281.3 kB / 0.7637 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.6451, allocations: 87.34 kB / 0.7638 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.6451, allocations: 3.938 kB / 0.7638 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of Templates: time 0.03163/0.6768, allocations: 20.85 MB / 0.7842 GB, free: 188 kB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)