Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001265/0.001265, allocations: 197.6 kB / 16.14 MB, free: 6.688 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 69.14 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3655, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02325/0.3888, allocations: 20.76 MB / 1.088 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009632/0.3985, allocations: 5.466 MB / 1.093 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.3997, allocations: 19.88 kB / 1.093 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.4009, allocations: 282.4 kB / 1.093 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.4041, allocations: 0.8672 MB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4067, allocations: 0.8094 MB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003664/0.4104, allocations: 2.297 MB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/0.4112, allocations: 437 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.4125, allocations: 0.6224 MB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.4133, allocations: 0.49 MB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.4134, allocations: 28 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.4163, allocations: 1.095 MB / 1.1 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.4166, allocations: 131.4 kB / 1.1 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.417, allocations: 306.3 kB / 1.1 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.4193, allocations: 1.188 MB / 1.101 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4193, allocations: 0 / 1.101 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4193, allocations: 0 / 1.101 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.4194, allocations: 0 / 1.101 GB, free: 8.023 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.002102/0.4215, allocations: 1.053 MB / 1.102 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4215, allocations: 8.031 kB / 1.103 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/0.4225, allocations: 176 kB / 1.103 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.4238, allocations: 0.5652 MB / 1.103 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.4241, allocations: 80.94 kB / 1.103 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.4242, allocations: 40 kB / 1.103 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4252, allocations: 0.5038 MB / 1.104 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4252, allocations: 0 / 1.104 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.4253, allocations: 12 kB / 1.104 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.4253, allocations: 12 kB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.4263, allocations: 410.6 kB / 1.104 GB, free: 5.051 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.003103/0.4294, allocations: 2.289 MB / 1.106 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.4305, allocations: 379 kB / 1.107 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.431, allocations: 235 kB / 1.107 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.4313, allocations: 340.7 kB / 1.107 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/0.432, allocations: 310.1 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/0.432, allocations: 0 / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.00228/0.4343, allocations: 0.8664 MB / 1.109 GB, free: 320 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.4343, allocations: 85.11 kB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.4349, allocations: 495 kB / 1.109 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.435, allocations: 29.7 kB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.4352, allocations: 284.4 kB / 1.109 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.4353, allocations: 114.3 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.4355, allocations: 73.69 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4357, allocations: 358.8 kB / 1.11 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.4361, allocations: 180.7 kB / 1.11 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.4366, allocations: 275.1 kB / 1.11 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.4376, allocations: 477.5 kB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4376, allocations: 0 / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001518/0.4391, allocations: 0.6206 MB / 1.111 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.4392, allocations: 38.95 kB / 1.111 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4392, allocations: 0 / 1.111 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.4396, allocations: 76.95 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.4399, allocations: 79.83 kB / 1.112 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005126/0.4405, allocations: 0.5991 MB / 1.112 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.4411, allocations: 71.7 kB / 1.112 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.4411, allocations: 19.98 kB / 1.112 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006128/0.4417, allocations: 315.8 kB / 1.113 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005085/0.4423, allocations: 265.2 kB / 1.113 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009242/0.4432, allocations: 465.1 kB / 1.113 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.4432, allocations: 0 / 1.113 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001367/0.4446, allocations: 0.6043 MB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.4446, allocations: 33.7 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4446, allocations: 4 kB / 1.114 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.4448, allocations: 48.98 kB / 1.114 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.4452, allocations: 79.88 kB / 1.114 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.4469, allocations: 1.635 MB / 1.116 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.4475, allocations: 67.77 kB / 1.116 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.4476, allocations: 23.98 kB / 1.116 GB, free: 8.562 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.0002431/0.4478, allocations: 242.4 kB / 1.116 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.4479, allocations: 63.27 kB / 1.116 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4494, allocations: 0.6573 MB / 1.117 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4494, allocations: 4 kB / 1.117 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.4494, allocations: 0 / 1.117 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.4508, allocations: 0.8053 MB / 1.117 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.453, allocations: 1.308 MB / 1.119 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.453, allocations: 7.984 kB / 1.119 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.4534, allocations: 59.89 kB / 1.119 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.4536, allocations: 44.94 kB / 1.119 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.4536, allocations: 11.98 kB / 1.119 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004891/0.4541, allocations: 0.5835 MB / 1.119 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4541, allocations: 3.938 kB / 1.119 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.456, allocations: 0.9834 MB / 1.12 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.4563, allocations: 172.3 kB / 1.121 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.4564, allocations: 8 kB / 1.121 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.457, allocations: 59.91 kB / 1.121 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.457, allocations: 27.97 kB / 1.121 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.4571, allocations: 19.98 kB / 1.121 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004426/0.4575, allocations: 346.8 kB / 1.121 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.4575, allocations: 0 / 1.121 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0011/0.4587, allocations: 339.5 kB / 1.121 GB, free: 2.574 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.000725/0.4594, allocations: 317.7 kB / 1.122 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.4616, allocations: 0.9674 MB / 1.123 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4616, allocations: 4 kB / 1.123 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.4622, allocations: 331.3 kB / 1.123 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.4637, allocations: 241.7 kB / 1.123 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.466, allocations: 1.329 MB / 1.124 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4664, allocations: 0.8745 MB / 1.125 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005451/0.467, allocations: 132.4 kB / 1.125 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4671, allocations: 47.41 kB / 1.125 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/0.4671, allocations: 3.938 kB / 1.125 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.02025/0.4874, allocations: 11.07 MB / 1.136 GB, free: 3.289 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)