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 2.865/2.865, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.001678/0.001678, allocations: 182.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001176/0.001176, allocations: 100.1 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006428, allocations: 12.69 kB / 0.8656 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2943, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.17/1.464, allocations: 162 MB / 1.136 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02141/1.486, allocations: 6.26 MB / 1.142 GB, free: 14.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/1.489, allocations: 36.75 kB / 1.143 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00558/1.495, allocations: 0.6647 MB / 1.143 GB, free: 14.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.506, allocations: 1.644 MB / 1.145 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/1.517, allocations: 1.539 MB / 1.146 GB, free: 12.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005116/1.522, allocations: 1.664 MB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/1.524, allocations: 0.6906 MB / 1.149 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/1.528, allocations: 0.9149 MB / 1.149 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/1.529, allocations: 0.532 MB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003322/1.53, allocations: 42.72 kB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/1.535, allocations: 1.178 MB / 1.151 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007814/1.535, allocations: 284.5 kB / 1.151 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000617/1.536, allocations: 242.3 kB / 1.152 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/1.54, allocations: 1.556 MB / 1.153 GB, free: 8.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.54, allocations: 0 / 1.153 GB, free: 8.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/1.54, allocations: 0 / 1.153 GB, free: 8.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.722e-05/1.54, allocations: 0 / 1.153 GB, free: 8.262 MB / 0.698 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.006389/1.547, allocations: 1.405 MB / 1.155 GB, free: 7.156 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.547, allocations: 9.281 kB / 1.155 GB, free: 7.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/1.552, allocations: 0.6064 MB / 1.155 GB, free: 6.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/1.556, allocations: 0.9274 MB / 1.156 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002302/1.558, allocations: 316 kB / 1.156 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/1.559, allocations: 71.22 kB / 1.156 GB, free: 6.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/1.564, allocations: 1.172 MB / 1.158 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/1.564, allocations: 0 / 1.158 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/1.564, allocations: 27.34 kB / 1.158 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.74e-05/1.564, allocations: 35.98 kB / 1.158 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006665/1.571, allocations: 1.321 MB / 1.159 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/1.582, allocations: 2.983 MB / 1.162 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/1.585, allocations: 0.7516 MB / 1.163 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/1.586, allocations: 0.6711 MB / 1.163 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/1.588, allocations: 0.5256 MB / 1.164 GB, free: 1.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.757e-06/1.588, allocations: 4 kB / 1.164 GB, free: 1.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.005719/1.594, allocations: 1.368 MB / 1.165 GB, free: 356 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/1.594, allocations: 111.2 kB / 1.165 GB, free: 228 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003403/1.597, allocations: 1.225 MB / 1.166 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/1.597, allocations: 39.14 kB / 1.166 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/1.598, allocations: 433 kB / 1.167 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/1.598, allocations: 191.2 kB / 1.167 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/1.598, allocations: 10.53 kB / 1.167 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.599, allocations: 337.7 kB / 1.167 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.601, allocations: 494.4 kB / 1.168 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/1.604, allocations: 0.6412 MB / 1.168 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/1.607, allocations: 0.5474 MB / 1.169 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.607, allocations: 0 / 1.169 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006121/1.613, allocations: 1.317 MB / 1.17 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/1.613, allocations: 35.77 kB / 1.17 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.613, allocations: 6.625 kB / 1.17 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.613, allocations: 4.906 kB / 1.17 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.615, allocations: 217 kB / 1.171 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.615, allocations: 9.203 kB / 1.171 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.618, allocations: 303.2 kB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/1.618, allocations: 37.62 kB / 1.171 GB, free: 12.89 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.0008291/1.619, allocations: 331.8 kB / 1.171 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/1.62, allocations: 119 kB / 1.171 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/1.623, allocations: 1.061 MB / 1.172 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.623, allocations: 11.31 kB / 1.172 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.623, allocations: 4 kB / 1.172 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.623, allocations: 3.984 kB / 1.172 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.639, allocations: 3.245 MB / 1.176 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/1.639, allocations: 7.562 kB / 1.176 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.641, allocations: 125.1 kB / 1.176 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.312e-05/1.641, allocations: 17.22 kB / 1.176 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.641, allocations: 25.11 kB / 1.176 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/1.641, allocations: 18.17 kB / 1.176 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/1.641, allocations: 12.19 kB / 1.176 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006831/1.648, allocations: 1.735 MB / 1.177 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.65, allocations: 337.2 kB / 1.178 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005792/1.65, allocations: 21.44 kB / 1.178 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003728/1.654, allocations: 126.7 kB / 1.178 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/1.654, allocations: 64.86 kB / 1.178 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.655, allocations: 38.25 kB / 1.178 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004591/1.659, allocations: 0.8837 MB / 1.179 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.042e-06/1.659, allocations: 0 / 1.179 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002888/1.662, allocations: 313.7 kB / 1.179 GB, free: 7.199 MB / 0.7136 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.001682/1.664, allocations: 354.1 kB / 1.179 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007541/1.672, allocations: 1.086 MB / 1.181 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/1.672, allocations: 8 kB / 1.181 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.675, allocations: 0.5393 MB / 1.181 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/1.682, allocations: 0.5312 MB / 1.182 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.693, allocations: 2.31 MB / 1.184 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.695, allocations: 1.094 MB / 1.185 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003383/1.698, allocations: 283.5 kB / 1.185 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008205/1.699, allocations: 85.19 kB / 1.185 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of SimCode: time 1.674e-06/1.699, allocations: 0 / 1.185 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.06866/1.768, allocations: 21.1 MB / 1.206 GB, free: 15.51 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)