Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001052/0.001052, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001092/0.001092, allocations: 181.1 kB / 17.19 MB, free: 5.609 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7687/0.7687, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 55.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3726, allocations: 77.92 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.0211/0.3937, allocations: 20.81 MB / 0.5875 GB, free: 17.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007128/0.4009, allocations: 5.393 MB / 0.5928 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.4018, allocations: 26.81 kB / 0.5928 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.4027, allocations: 343.9 kB / 0.5931 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.405, allocations: 0.9234 MB / 0.594 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.4073, allocations: 0.9329 MB / 0.5949 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.4094, allocations: 1.731 MB / 0.5966 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.4101, allocations: 0.4912 MB / 0.5971 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.4118, allocations: 0.6926 MB / 0.5978 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.4124, allocations: 487 kB / 0.5983 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.4125, allocations: 46.03 kB / 0.5983 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4145, allocations: 1.117 MB / 0.5994 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.4147, allocations: 152.1 kB / 0.5995 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.415, allocations: 317.6 kB / 0.5998 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.4169, allocations: 1.206 MB / 0.601 GB, free: 8.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4169, allocations: 3.938 kB / 0.601 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4169, allocations: 1.125 kB / 0.601 GB, free: 8.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4169, allocations: 0 / 0.601 GB, free: 8.086 MB / 446.1 MB 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.001488/0.4184, allocations: 1.051 MB / 0.602 GB, free: 7.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4184, allocations: 12.03 kB / 0.6021 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.4193, allocations: 180 kB / 0.6022 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.4202, allocations: 0.5536 MB / 0.6028 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.4205, allocations: 84.92 kB / 0.6029 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.4206, allocations: 43.98 kB / 0.6029 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.4214, allocations: 0.4921 MB / 0.6034 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4215, allocations: 7.875 kB / 0.6034 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.4215, allocations: 16 kB / 0.6034 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.4215, allocations: 11.98 kB / 0.6034 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/0.4225, allocations: 414.6 kB / 0.6038 GB, free: 5.164 MB / 446.1 MB 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.0023/0.4248, allocations: 2.3 MB / 0.6061 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.4257, allocations: 379 kB / 0.6064 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.4262, allocations: 229 kB / 0.6066 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.4264, allocations: 336.6 kB / 0.607 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/0.427, allocations: 306.8 kB / 0.6072 GB, free: 1.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.427, allocations: 4 kB / 0.6073 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002057/0.4291, allocations: 0.8733 MB / 0.6081 GB, free: 424 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.4291, allocations: 81.11 kB / 0.6082 GB, free: 324 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4296, allocations: 498.8 kB / 0.6087 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.4297, allocations: 37.7 kB / 0.6087 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.4299, allocations: 276.4 kB / 0.609 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.43, allocations: 106.5 kB / 0.6091 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4301, allocations: 77.59 kB / 0.6091 GB, free: 15.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4303, allocations: 366.8 kB / 0.6095 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.4307, allocations: 186.1 kB / 0.6097 GB, free: 14.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.4313, allocations: 269 kB / 0.6099 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.4322, allocations: 469.2 kB / 0.6104 GB, free: 13.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4322, allocations: 0 / 0.6104 GB, free: 13.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001434/0.4337, allocations: 0.6199 MB / 0.611 GB, free: 13.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.4337, allocations: 41.69 kB / 0.611 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4338, allocations: 4 kB / 0.611 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.4341, allocations: 73.03 kB / 0.6111 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.4345, allocations: 83.81 kB / 0.6112 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004589/0.435, allocations: 0.5991 MB / 0.6117 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.4355, allocations: 63.58 kB / 0.6118 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.4355, allocations: 15.98 kB / 0.6118 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006113/0.4362, allocations: 324.5 kB / 0.6121 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005042/0.4367, allocations: 257.7 kB / 0.6124 GB, free: 11.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009234/0.4376, allocations: 465.1 kB / 0.6128 GB, free: 11.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4376, allocations: 0 / 0.6128 GB, free: 11.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001253/0.4389, allocations: 0.5967 MB / 0.6134 GB, free: 10.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.4389, allocations: 41.69 kB / 0.6134 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.4389, allocations: 0 / 0.6134 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.4391, allocations: 48.83 kB / 0.6135 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.4395, allocations: 83.88 kB / 0.6136 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.4409, allocations: 1.81 MB / 0.6153 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.4414, allocations: 55.8 kB / 0.6154 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.4414, allocations: 19.94 kB / 0.6154 GB, free: 8.504 MB / 462.1 MB 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.0002094/0.4417, allocations: 237.8 kB / 0.6156 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.4418, allocations: 59.34 kB / 0.6157 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.4432, allocations: 0.6508 MB / 0.6163 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4433, allocations: 7.984 kB / 0.6163 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.4433, allocations: 0 / 0.6163 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.4445, allocations: 0.8058 MB / 0.6171 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4468, allocations: 1.299 MB / 0.6184 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4468, allocations: 0 / 0.6184 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.4471, allocations: 71.98 kB / 0.6185 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.4473, allocations: 48.86 kB / 0.6185 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4473, allocations: 12 kB / 0.6185 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003731/0.4477, allocations: 0.5835 MB / 0.6191 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4477, allocations: 0 / 0.6191 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4496, allocations: 0.9794 MB / 0.62 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4498, allocations: 180.4 kB / 0.6202 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.4499, allocations: 12 kB / 0.6202 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.4504, allocations: 44.02 kB / 0.6203 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.4505, allocations: 27.91 kB / 0.6203 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.4505, allocations: 19.98 kB / 0.6203 GB, free: 3.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004663/0.451, allocations: 346.8 kB / 0.6206 GB, free: 2.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.451, allocations: 0 / 0.6206 GB, free: 2.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001183/0.4522, allocations: 335.4 kB / 0.621 GB, free: 2.543 MB / 462.1 MB 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.0007353/0.453, allocations: 309.8 kB / 0.6213 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.4552, allocations: 1.009 MB / 0.6222 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4552, allocations: 0 / 0.6222 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.4558, allocations: 323.4 kB / 0.6226 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.457, allocations: 218 kB / 0.6228 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4592, allocations: 1.13 MB / 0.6239 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.4597, allocations: 0.8784 MB / 0.6247 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.4602, allocations: 131 kB / 0.6249 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4603, allocations: 47.36 kB / 0.6249 GB, free: 14.42 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4603, allocations: 0 / 0.6249 GB, free: 14.42 MB / 478.1 MB Notification: Performance of Templates: time 0.01979/0.4801, allocations: 11.33 MB / 0.636 GB, free: 3.25 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)