Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 106.7 kB / 16.36 MB, free: 6.258 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.001055/0.001055, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.297/1.297, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.00142/0.00142, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1922, allocations: 114.5 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.3347/0.5269, allocations: 20.85 MB / 0.8051 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007314/0.5343, allocations: 5.343 MB / 0.8104 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.5351, allocations: 27.06 kB / 0.8104 GB, free: 34.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5362, allocations: 342.8 kB / 0.8107 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.5387, allocations: 0.9114 MB / 0.8116 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.5412, allocations: 0.9304 MB / 0.8125 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.5436, allocations: 1.715 MB / 0.8142 GB, free: 32.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008856/0.5445, allocations: 491.5 kB / 0.8147 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.5465, allocations: 0.6981 MB / 0.8153 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.5475, allocations: 496.2 kB / 0.8158 GB, free: 31.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5477, allocations: 44.88 kB / 0.8158 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.55, allocations: 1.127 MB / 0.8169 GB, free: 31.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.5502, allocations: 143.5 kB / 0.8171 GB, free: 31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.5507, allocations: 320.8 kB / 0.8174 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.553, allocations: 1.222 MB / 0.8186 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.553, allocations: 0 / 0.8186 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.553, allocations: 0 / 0.8186 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.648e-05/0.553, allocations: 0 / 0.8186 GB, free: 30.39 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002148/0.5552, allocations: 1.047 MB / 0.8196 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5552, allocations: 9.938 kB / 0.8196 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.5563, allocations: 176 kB / 0.8198 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5576, allocations: 0.5867 MB / 0.8204 GB, free: 29.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.5576, allocations: 30.03 kB / 0.8204 GB, free: 29.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.5577, allocations: 38.31 kB / 0.8204 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5588, allocations: 0.4943 MB / 0.8209 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5588, allocations: 1.156 kB / 0.8209 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.5589, allocations: 12.06 kB / 0.8209 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.5589, allocations: 15.5 kB / 0.8209 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.56, allocations: 403.2 kB / 0.8213 GB, free: 28.8 MB / 0.6544 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.002866/0.5628, allocations: 2.273 MB / 0.8235 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009947/0.5638, allocations: 370.4 kB / 0.8239 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.5644, allocations: 229.8 kB / 0.8241 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.5646, allocations: 342.4 kB / 0.8244 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/0.5652, allocations: 300.5 kB / 0.8247 GB, free: 26.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/0.5652, allocations: 0 / 0.8247 GB, free: 26.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002202/0.5674, allocations: 0.854 MB / 0.8256 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5675, allocations: 83.42 kB / 0.8256 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.5681, allocations: 491.7 kB / 0.8261 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.5681, allocations: 32.52 kB / 0.8261 GB, free: 25.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.5683, allocations: 278 kB / 0.8264 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.5684, allocations: 110 kB / 0.8265 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5685, allocations: 72.36 kB / 0.8266 GB, free: 25.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.5686, allocations: 364.2 kB / 0.8269 GB, free: 24.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.5691, allocations: 177.8 kB / 0.8271 GB, free: 24.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.5696, allocations: 261.1 kB / 0.8273 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.5705, allocations: 466.6 kB / 0.8278 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5705, allocations: 1.094 kB / 0.8278 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00144/0.572, allocations: 0.6162 MB / 0.8284 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.572, allocations: 37.19 kB / 0.8284 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.572, allocations: 2.156 kB / 0.8284 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.5724, allocations: 76.17 kB / 0.8285 GB, free: 24.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.5728, allocations: 73.7 kB / 0.8286 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/0.5731, allocations: 0.6048 MB / 0.8292 GB, free: 23.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.5737, allocations: 59.23 kB / 0.8292 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.5737, allocations: 18.52 kB / 0.8292 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005728/0.5743, allocations: 310.4 kB / 0.8295 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004683/0.5748, allocations: 266.9 kB / 0.8298 GB, free: 23.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009116/0.5757, allocations: 461.5 kB / 0.8302 GB, free: 23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.5757, allocations: 5.094 kB / 0.8302 GB, free: 23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001296/0.577, allocations: 0.5838 MB / 0.8308 GB, free: 22.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5771, allocations: 39.33 kB / 0.8308 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5771, allocations: 6.469 kB / 0.8308 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.5773, allocations: 47.88 kB / 0.8309 GB, free: 22.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.5776, allocations: 76.69 kB / 0.831 GB, free: 22.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.5789, allocations: 1.808 MB / 0.8327 GB, free: 20.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.5794, allocations: 61.19 kB / 0.8328 GB, free: 20.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.5794, allocations: 17.17 kB / 0.8328 GB, free: 20.96 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.5796, allocations: 238.2 kB / 0.833 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5798, allocations: 58.14 kB / 0.8331 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5812, allocations: 0.6331 MB / 0.8337 GB, free: 20.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.5824, allocations: 0.8022 MB / 0.8345 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5824, allocations: 0 / 0.8345 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.5827, allocations: 185.1 kB / 0.8347 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.5828, allocations: 8.75 kB / 0.8347 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.5833, allocations: 39.97 kB / 0.8347 GB, free: 19.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.5833, allocations: 25.56 kB / 0.8347 GB, free: 19.75 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001594/0.5849, allocations: 0.7376 MB / 0.8355 GB, free: 19.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001754/0.5867, allocations: 0.9787 MB / 0.8364 GB, free: 18.9 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004984/0.5872, allocations: 233.9 kB / 0.8366 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004222/0.5877, allocations: 347.2 kB / 0.837 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of Backend: time 7.62e-07/0.5877, allocations: 0 / 0.837 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.5908, allocations: 1.174 MB / 0.8381 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002245/0.593, allocations: 1.616 MB / 0.8397 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.02384/0.6169, allocations: 13.78 MB / 0.8531 GB, free: 12.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)