Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 191.8 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 85 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.294e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2743, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/4.432, allocations: 1.927 GB / 3.132 GB, free: 400.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/4.433, allocations: 91.89 kB / 3.132 GB, free: 400 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.017/7.449, allocations: 0.9311 GB / 4.064 GB, free: 220.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001292/7.45, allocations: 40.3 kB / 4.064 GB, free: 220.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003733/7.453, allocations: 1.53 MB / 4.065 GB, free: 219.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/7.453, allocations: 11.22 kB / 4.065 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/7.456, allocations: 425.4 kB / 4.066 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/7.459, allocations: 1.099 MB / 4.067 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/7.459, allocations: 23.5 kB / 4.067 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/7.459, allocations: 58.38 kB / 4.067 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/7.46, allocations: 0.7391 MB / 4.067 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/7.461, allocations: 0.7306 MB / 4.068 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/7.461, allocations: 0 / 4.068 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/7.461, allocations: 5.656 kB / 4.068 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/7.461, allocations: 33.86 kB / 4.068 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/7.466, allocations: 3.985 MB / 4.072 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/7.467, allocations: 0.579 MB / 4.073 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/7.468, allocations: 366.2 kB / 4.073 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/7.469, allocations: 0.6441 MB / 4.074 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/7.469, allocations: 48.53 kB / 4.074 GB, free: 216.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.436e-06/7.469, allocations: 0 / 4.074 GB, free: 216.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002558/7.471, allocations: 0.9099 MB / 4.075 GB, free: 216.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/7.471, allocations: 61.47 kB / 4.075 GB, free: 216.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/7.472, allocations: 0.601 MB / 4.075 GB, free: 216.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/7.472, allocations: 25.7 kB / 4.075 GB, free: 216.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/7.472, allocations: 340.5 kB / 4.076 GB, free: 216.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/7.473, allocations: 204.2 kB / 4.076 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/7.473, allocations: 0 / 4.076 GB, free: 216.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001269/7.473, allocations: 329.1 kB / 4.076 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/7.473, allocations: 238.2 kB / 4.076 GB, free: 215.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/7.474, allocations: 383.9 kB / 4.077 GB, free: 215.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/7.474, allocations: 381.3 kB / 4.077 GB, free: 215.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/7.474, allocations: 2.688 kB / 4.077 GB, free: 215.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001446/7.476, allocations: 0.7849 MB / 4.078 GB, free: 215.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/7.476, allocations: 448.9 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/7.476, allocations: 0 / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/7.476, allocations: 3.781 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/7.477, allocations: 147.1 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/7.477, allocations: 0 / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/7.478, allocations: 132.4 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/7.478, allocations: 23.95 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/7.478, allocations: 6 kB / 4.078 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/7.479, allocations: 0.6495 MB / 4.079 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/7.48, allocations: 3.844 kB / 4.079 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/7.48, allocations: 3.75 kB / 4.079 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/7.48, allocations: 132.5 kB / 4.079 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/7.48, allocations: 10.23 kB / 4.079 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/7.481, allocations: 129.3 kB / 4.079 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/7.481, allocations: 19.38 kB / 4.079 GB, free: 215 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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.0002579/7.482, allocations: 110.9 kB / 4.08 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/7.482, allocations: 104.8 kB / 4.08 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/7.484, allocations: 0.819 MB / 4.08 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/7.484, allocations: 6.625 kB / 4.08 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/7.484, allocations: 0 / 4.08 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/7.485, allocations: 0.9735 MB / 4.081 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/7.489, allocations: 2.007 MB / 4.083 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/7.489, allocations: 3.656 kB / 4.083 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/7.49, allocations: 158.2 kB / 4.083 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/7.49, allocations: 6.156 kB / 4.083 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/7.49, allocations: 14.94 kB / 4.083 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/7.49, allocations: 7.031 kB / 4.084 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/7.49, allocations: 7.5 kB / 4.084 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001795/7.492, allocations: 1.375 MB / 4.085 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/7.493, allocations: 265.1 kB / 4.085 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/7.493, allocations: 7.375 kB / 4.085 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/7.494, allocations: 118.4 kB / 4.085 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/7.494, allocations: 42.17 kB / 4.085 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/7.494, allocations: 21.84 kB / 4.085 GB, free: 213.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005634/7.495, allocations: 489.1 kB / 4.086 GB, free: 213.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001984/7.497, allocations: 0.6853 MB / 4.086 GB, free: 213.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003427/7.5, allocations: 2.596 MB / 4.089 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001481/7.501, allocations: 0.9319 MB / 4.09 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/7.501, allocations: 7.688 kB / 4.09 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/7.502, allocations: 326.5 kB / 4.09 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/7.505, allocations: 0.5908 MB / 4.091 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/7.509, allocations: 1.736 MB / 4.092 GB, free: 211.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/7.51, allocations: 1.241 MB / 4.094 GB, free: 211.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.914e-06/7.51, allocations: 0 / 4.094 GB, free: 211.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06214/7.572, allocations: 35.18 MB / 4.128 GB, free: 210.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches