Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001357/0.001357, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001615/0.001615, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.7 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02138/0.3933, allocations: 20.72 MB / 1.088 GB, free: 6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008665/0.4021, allocations: 5.369 MB / 1.093 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.403, allocations: 23.81 kB / 1.093 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.404, allocations: 298.4 kB / 1.093 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.4068, allocations: 0.8557 MB / 1.094 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.4094, allocations: 0.852 MB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.4118, allocations: 1.735 MB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007692/0.4126, allocations: 497.4 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.4147, allocations: 0.7054 MB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.4154, allocations: 0.5018 MB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.4155, allocations: 40 kB / 1.099 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.4179, allocations: 1.131 MB / 1.1 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.4181, allocations: 147.4 kB / 1.1 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.4185, allocations: 322.3 kB / 1.1 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.4204, allocations: 1.204 MB / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4204, allocations: 0 / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4204, allocations: 0 / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.4205, allocations: 0 / 1.101 GB, free: 8.309 MB / 0.8575 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.001709/0.4222, allocations: 1.053 MB / 1.102 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4222, allocations: 12.02 kB / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.4231, allocations: 180 kB / 1.102 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4242, allocations: 0.5613 MB / 1.103 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/0.4245, allocations: 80.94 kB / 1.103 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4246, allocations: 40 kB / 1.103 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.4256, allocations: 0.496 MB / 1.104 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4256, allocations: 0 / 1.104 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.4257, allocations: 19.94 kB / 1.104 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.4257, allocations: 12 kB / 1.104 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.4268, allocations: 414.6 kB / 1.104 GB, free: 5.328 MB / 0.8575 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.003009/0.4298, allocations: 2.285 MB / 1.106 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4308, allocations: 363 kB / 1.107 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.4313, allocations: 236.9 kB / 1.107 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.4317, allocations: 344.6 kB / 1.107 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006715/0.4323, allocations: 314.1 kB / 1.107 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.4324, allocations: 0 / 1.107 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002318/0.4347, allocations: 0.8625 MB / 1.108 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.4347, allocations: 85.09 kB / 1.108 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.4353, allocations: 499 kB / 1.109 GB, free: 4 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4354, allocations: 29.7 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.4356, allocations: 284.4 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4357, allocations: 114.4 kB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4358, allocations: 69.69 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4361, allocations: 362.8 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.4365, allocations: 184.7 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.437, allocations: 271.2 kB / 1.11 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.438, allocations: 478.1 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.438, allocations: 0 / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001515/0.4396, allocations: 0.6239 MB / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.4396, allocations: 39.56 kB / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.4396, allocations: 160 / 1.111 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.44, allocations: 76.81 kB / 1.111 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.4404, allocations: 83.81 kB / 1.111 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000506/0.4409, allocations: 0.5952 MB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.4416, allocations: 79.75 kB / 1.112 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.4416, allocations: 12 kB / 1.112 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006768/0.4423, allocations: 319.8 kB / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005372/0.4428, allocations: 261.2 kB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009824/0.4438, allocations: 469 kB / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.4439, allocations: 0 / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001497/0.4454, allocations: 0.6011 MB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.4454, allocations: 33.7 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4454, allocations: 7.984 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.4456, allocations: 49 kB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.446, allocations: 75.88 kB / 1.114 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.448, allocations: 1.813 MB / 1.116 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.4486, allocations: 63.89 kB / 1.116 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.4487, allocations: 23.92 kB / 1.116 GB, free: 8.664 MB / 0.8731 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.0002869/0.449, allocations: 242.5 kB / 1.116 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4491, allocations: 55.34 kB / 1.116 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.4507, allocations: 0.6614 MB / 1.117 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4507, allocations: 4 kB / 1.117 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4507, allocations: 0 / 1.117 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001605/0.4523, allocations: 0.8053 MB / 1.117 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.455, allocations: 1.307 MB / 1.119 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4551, allocations: 4 kB / 1.119 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.4554, allocations: 71.97 kB / 1.119 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.4556, allocations: 40.84 kB / 1.119 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.4557, allocations: 11.98 kB / 1.119 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005054/0.4562, allocations: 0.5835 MB / 1.119 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4562, allocations: 0 / 1.119 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.4584, allocations: 0.9764 MB / 1.12 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.4587, allocations: 180.3 kB / 1.12 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4588, allocations: 8 kB / 1.12 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.4594, allocations: 59.91 kB / 1.121 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.4595, allocations: 27.91 kB / 1.121 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.4596, allocations: 19.98 kB / 1.121 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004879/0.4601, allocations: 342.8 kB / 1.121 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4601, allocations: 0 / 1.121 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001426/0.4615, allocations: 351.4 kB / 1.121 GB, free: 2.668 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009213/0.4624, allocations: 298.8 kB / 1.122 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.4648, allocations: 0.998 MB / 1.122 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4648, allocations: 0 / 1.122 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.4655, allocations: 335.3 kB / 1.123 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.4668, allocations: 219.7 kB / 1.123 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.4695, allocations: 1.323 MB / 1.124 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.47, allocations: 0.8784 MB / 1.125 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006004/0.4706, allocations: 132.3 kB / 1.125 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4707, allocations: 47.42 kB / 1.125 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.4708, allocations: 0 / 1.125 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of Templates: time 0.02316/0.4939, allocations: 11.26 MB / 1.136 GB, free: 3.211 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)