Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003305/0.003305, allocations: 180.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6892/0.6892, allocations: 130.6 MB / 138.5 MB, free: 2.211 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 391.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009771, allocations: 96.91 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.755e-06, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1822, allocations: 81.59 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.095/4.277, allocations: 1.89 GB / 2.517 GB, free: 247.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/4.277, allocations: 83.16 kB / 2.517 GB, free: 247.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.24/7.517, allocations: 0.9293 GB / 3.447 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002259/7.518, allocations: 45.5 kB / 3.447 GB, free: 83.96 MB / 0.6823 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.005583/7.523, allocations: 1.526 MB / 3.448 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/7.523, allocations: 16.02 kB / 3.448 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/7.527, allocations: 420.7 kB / 3.449 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/7.531, allocations: 1.105 MB / 3.45 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/7.531, allocations: 26.84 kB / 3.45 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004391/7.532, allocations: 52 kB / 3.45 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/7.534, allocations: 0.7405 MB / 3.451 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/7.535, allocations: 0.7258 MB / 3.451 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/7.536, allocations: 0 / 3.451 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/7.536, allocations: 0 / 3.451 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/7.536, allocations: 33.98 kB / 3.451 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006256/7.542, allocations: 3.793 MB / 3.455 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/7.543, allocations: 0.5775 MB / 3.456 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/7.543, allocations: 370.2 kB / 3.456 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/7.544, allocations: 0.6507 MB / 3.457 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/7.544, allocations: 47.06 kB / 3.457 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.667e-06/7.544, allocations: 0 / 3.457 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002594/7.547, allocations: 0.9145 MB / 3.457 GB, free: 72.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/7.547, allocations: 59.91 kB / 3.458 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/7.548, allocations: 0.5986 MB / 3.458 GB, free: 72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/7.548, allocations: 29.7 kB / 3.458 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/7.548, allocations: 333.9 kB / 3.458 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/7.548, allocations: 208.9 kB / 3.459 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/7.548, allocations: 3.938 kB / 3.459 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/7.548, allocations: 325.9 kB / 3.459 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/7.549, allocations: 242.6 kB / 3.459 GB, free: 70.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/7.549, allocations: 389.5 kB / 3.46 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/7.55, allocations: 374.9 kB / 3.46 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/7.55, allocations: 3.156 kB / 3.46 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001224/7.551, allocations: 0.7862 MB / 3.461 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/7.551, allocations: 447.1 kB / 3.461 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/7.551, allocations: 4 kB / 3.461 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/7.551, allocations: 4 kB / 3.461 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/7.552, allocations: 139 kB / 3.461 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/7.552, allocations: 4 kB / 3.461 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/7.553, allocations: 109.7 kB / 3.461 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/7.553, allocations: 27.98 kB / 3.461 GB, free: 68.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/7.553, allocations: 4 kB / 3.461 GB, free: 68.53 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/7.554, allocations: 0.6423 MB / 3.462 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/7.554, allocations: 4 kB / 3.462 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/7.554, allocations: 4 kB / 3.462 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/7.555, allocations: 135.8 kB / 3.462 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/7.555, allocations: 11 kB / 3.462 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/7.556, allocations: 110.5 kB / 3.462 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/7.556, allocations: 24 kB / 3.462 GB, free: 67.62 MB / 0.6823 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.0001762/7.556, allocations: 124.5 kB / 3.462 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/7.556, allocations: 94.88 kB / 3.463 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/7.558, allocations: 0.8132 MB / 3.463 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/7.558, allocations: 8 kB / 3.463 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.558, allocations: 0 / 3.463 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/7.559, allocations: 0.9784 MB / 3.464 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/7.562, allocations: 2.002 MB / 3.466 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/7.562, allocations: 4 kB / 3.466 GB, free: 63.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/7.563, allocations: 159.3 kB / 3.466 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/7.563, allocations: 4 kB / 3.466 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/7.563, allocations: 11.98 kB / 3.466 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/7.563, allocations: 7.125 kB / 3.466 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/7.563, allocations: 7.938 kB / 3.466 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001738/7.565, allocations: 1.44 MB / 3.468 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/7.565, allocations: 251.8 kB / 3.468 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/7.565, allocations: 10.02 kB / 3.468 GB, free: 61.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/7.566, allocations: 115 kB / 3.468 GB, free: 61.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/7.567, allocations: 48.28 kB / 3.468 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/7.567, allocations: 20 kB / 3.468 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005728/7.567, allocations: 481.9 kB / 3.469 GB, free: 60.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002007/7.569, allocations: 0.7 MB / 3.469 GB, free: 60.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.003663/7.573, allocations: 2.588 MB / 3.472 GB, free: 57.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001419/7.574, allocations: 0.931 MB / 3.473 GB, free: 56.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.574, allocations: 0 / 3.473 GB, free: 56.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/7.575, allocations: 334.2 kB / 3.473 GB, free: 56.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/7.578, allocations: 0.5958 MB / 3.474 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/7.582, allocations: 1.735 MB / 3.475 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/7.583, allocations: 1.238 MB / 3.477 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.843e-06/7.583, allocations: 0 / 3.477 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.05652/7.64, allocations: 35.17 MB / 3.511 GB, free: 18.33 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)