Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001839/0.00184, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5942/0.5942, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.4 MB / 395 MB, free: 10.12 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.0008319/0.0008319, allocations: 104 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.701e-06, allocations: 0 / 0.5528 GB, free: 89.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 82.3 MB / 0.6332 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.571/2.683, allocations: 1.89 GB / 2.523 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/2.683, allocations: 91.94 kB / 2.523 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.443/5.126, allocations: 0.9293 GB / 3.453 GB, free: 95.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.305e-05/5.126, allocations: 33.61 kB / 3.453 GB, free: 95.31 MB / 0.698 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.002454/5.129, allocations: 1.536 MB / 3.454 GB, free: 94.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/5.129, allocations: 6.125 kB / 3.454 GB, free: 94.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/5.131, allocations: 427.1 kB / 3.455 GB, free: 94.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/5.133, allocations: 1.106 MB / 3.456 GB, free: 94.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/5.133, allocations: 28.84 kB / 3.456 GB, free: 94.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/5.133, allocations: 49.88 kB / 3.456 GB, free: 94.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/5.134, allocations: 0.7412 MB / 3.456 GB, free: 94.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/5.135, allocations: 0.7288 MB / 3.457 GB, free: 94.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/5.135, allocations: 0 / 3.457 GB, free: 94.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/5.135, allocations: 0 / 3.457 GB, free: 94.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/5.135, allocations: 26.59 kB / 3.457 GB, free: 94.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/5.139, allocations: 3.795 MB / 3.461 GB, free: 92.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/5.14, allocations: 0.5891 MB / 3.461 GB, free: 92.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/5.141, allocations: 365.8 kB / 3.462 GB, free: 92.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/5.141, allocations: 0.6458 MB / 3.462 GB, free: 91.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/5.141, allocations: 37 kB / 3.462 GB, free: 91.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 1.974e-06/5.141, allocations: 0 / 3.462 GB, free: 91.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002222/5.143, allocations: 0.9138 MB / 3.463 GB, free: 91.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/5.144, allocations: 59.75 kB / 3.463 GB, free: 91.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/5.144, allocations: 0.6013 MB / 3.464 GB, free: 91.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/5.144, allocations: 31.8 kB / 3.464 GB, free: 91.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/5.144, allocations: 339.2 kB / 3.464 GB, free: 91.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/5.144, allocations: 210.9 kB / 3.465 GB, free: 91.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/5.144, allocations: 0 / 3.465 GB, free: 91.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/5.145, allocations: 328.9 kB / 3.465 GB, free: 91.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/5.145, allocations: 236.3 kB / 3.465 GB, free: 91.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/5.145, allocations: 387.8 kB / 3.465 GB, free: 90.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/5.146, allocations: 373.2 kB / 3.466 GB, free: 90.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/5.146, allocations: 7.203 kB / 3.466 GB, free: 90.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001097/5.147, allocations: 0.776 MB / 3.467 GB, free: 90.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/5.147, allocations: 454.7 kB / 3.467 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/5.147, allocations: 3.406 kB / 3.467 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/5.147, allocations: 7.531 kB / 3.467 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/5.148, allocations: 138.7 kB / 3.467 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/5.148, allocations: 3.688 kB / 3.467 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/5.149, allocations: 109.8 kB / 3.467 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/5.149, allocations: 28.67 kB / 3.467 GB, free: 90.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/5.149, allocations: 8.656 kB / 3.467 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009766/5.15, allocations: 0.6464 MB / 3.468 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/5.15, allocations: 3.938 kB / 3.468 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/5.15, allocations: 3.875 kB / 3.468 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/5.15, allocations: 138 kB / 3.468 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/5.15, allocations: 3.781 kB / 3.468 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/5.151, allocations: 109.1 kB / 3.468 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/5.151, allocations: 23.12 kB / 3.468 GB, free: 90.27 MB / 0.698 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.0001233/5.151, allocations: 121.4 kB / 3.468 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/5.151, allocations: 96.25 kB / 3.468 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/5.153, allocations: 0.8153 MB / 3.469 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/5.153, allocations: 7.719 kB / 3.469 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/5.153, allocations: 3.906 kB / 3.469 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/5.154, allocations: 0.9722 MB / 3.47 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/5.157, allocations: 2.005 MB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/5.157, allocations: 7.25 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/5.157, allocations: 157.9 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/5.157, allocations: 7.219 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/5.157, allocations: 7.656 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/5.157, allocations: 7.219 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/5.157, allocations: 6.375 kB / 3.472 GB, free: 89.19 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001477/5.159, allocations: 1.44 MB / 3.474 GB, free: 88.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/5.159, allocations: 258.9 kB / 3.474 GB, free: 88.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/5.159, allocations: 11.58 kB / 3.474 GB, free: 88.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/5.16, allocations: 114.8 kB / 3.474 GB, free: 88.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/5.16, allocations: 49.97 kB / 3.474 GB, free: 88.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/5.16, allocations: 21.06 kB / 3.474 GB, free: 88.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004518/5.161, allocations: 478.6 kB / 3.475 GB, free: 88.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001421/5.162, allocations: 0.69 MB / 3.475 GB, free: 88.38 MB / 0.698 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.002529/5.165, allocations: 2.6 MB / 3.478 GB, free: 87.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001135/5.166, allocations: 0.9321 MB / 3.479 GB, free: 87.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/5.166, allocations: 3.25 kB / 3.479 GB, free: 87.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/5.166, allocations: 324 kB / 3.479 GB, free: 87.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/5.169, allocations: 0.5988 MB / 3.48 GB, free: 87.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/5.171, allocations: 1.733 MB / 3.481 GB, free: 87.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/5.172, allocations: 1.238 MB / 3.483 GB, free: 86.3 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/5.172, allocations: 2.781 kB / 3.483 GB, free: 86.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04499/5.217, allocations: 35.17 MB / 3.517 GB, free: 85.06 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)