Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.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.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel") translateModel(IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel") [: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.001433/0.001433, allocations: 189.3 kB / 7.462 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6519/0.6519, allocations: 130.6 MB / 138.5 MB, free: 7.656 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.3 MB / 391.4 MB, free: 1.121 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 109.3 kB / 473.4 MB, free: 15.23 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 0.5479 GB, free: 53.3 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 81.59 MB / 0.6276 GB, free: 3.695 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9964/1.171, allocations: 352.2 MB / 0.9715 GB, free: 197.5 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.172, allocations: 86.34 kB / 0.9716 GB, free: 197.4 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.7915/1.963, allocations: 221.6 MB / 1.188 GB, free: 166.3 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 5.941e-05/1.963, allocations: 13 kB / 1.188 GB, free: 166.3 MB / 0.6589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00154/1.965, allocations: 0.6612 MB / 1.189 GB, free: 165.9 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.965, allocations: 14.41 kB / 1.189 GB, free: 165.9 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/1.965, allocations: 42.25 kB / 1.189 GB, free: 165.9 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/1.966, allocations: 397.9 kB / 1.189 GB, free: 165.7 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/1.966, allocations: 40.88 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/1.966, allocations: 15.03 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002833/1.966, allocations: 115.8 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/1.967, allocations: 169.4 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.967, allocations: 3.906 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/1.967, allocations: 0 / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/1.967, allocations: 6.844 kB / 1.189 GB, free: 165.6 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/1.968, allocations: 1.049 MB / 1.19 GB, free: 164.9 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/1.969, allocations: 86.33 kB / 1.191 GB, free: 164.9 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/1.969, allocations: 49.09 kB / 1.191 GB, free: 164.9 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/1.969, allocations: 333.9 kB / 1.191 GB, free: 164.5 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.969, allocations: 42.09 kB / 1.191 GB, free: 164.5 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=10): time 2.455e-06/1.969, allocations: 0 / 1.191 GB, free: 164.5 MB / 0.6589 GB Notification: Performance of matching and sorting (n=10): time 0.0004397/1.97, allocations: 130.1 kB / 1.191 GB, free: 164.4 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/1.97, allocations: 59.19 kB / 1.191 GB, free: 164.4 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/1.97, allocations: 232.3 kB / 1.191 GB, free: 164.3 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.97, allocations: 29.48 kB / 1.191 GB, free: 164.2 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/1.97, allocations: 158.8 kB / 1.192 GB, free: 164.1 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/1.97, allocations: 34.81 kB / 1.192 GB, free: 164.1 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.97, allocations: 0 / 1.192 GB, free: 164.1 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.97, allocations: 339 kB / 1.192 GB, free: 163.8 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/1.97, allocations: 28.98 kB / 1.192 GB, free: 163.8 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/1.97, allocations: 95.31 kB / 1.192 GB, free: 163.7 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/1.971, allocations: 43.75 kB / 1.192 GB, free: 163.7 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.971, allocations: 0 / 1.192 GB, free: 163.7 MB / 0.6589 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002865/1.971, allocations: 134.2 kB / 1.192 GB, free: 163.7 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/1.971, allocations: 277.2 kB / 1.192 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.971, allocations: 0 / 1.192 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.971, allocations: 2.594 kB / 1.192 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/1.971, allocations: 28.02 kB / 1.192 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.971, allocations: 0 / 1.192 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/1.971, allocations: 41.33 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.971, allocations: 7.094 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.971, allocations: 3.156 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002167/1.972, allocations: 86.55 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/1.972, allocations: 2.531 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/1.972, allocations: 3.312 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/1.972, allocations: 32.14 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/1.972, allocations: 0 / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/1.972, allocations: 32.52 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/1.972, allocations: 14.97 kB / 1.193 GB, free: 163.4 MB / 0.6589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001193/1.972, allocations: 107.8 kB / 1.193 GB, free: 163.3 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/1.972, allocations: 31.19 kB / 1.193 GB, free: 163.3 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/1.973, allocations: 180.9 kB / 1.193 GB, free: 163.2 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.973, allocations: 3.594 kB / 1.193 GB, free: 163.2 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.973, allocations: 0 / 1.193 GB, free: 163.2 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.973, allocations: 3.344 kB / 1.193 GB, free: 163.2 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/1.974, allocations: 0.5348 MB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.974, allocations: 7.609 kB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.974, allocations: 35.81 kB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.974, allocations: 3.938 kB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.974, allocations: 3.938 kB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.974, allocations: 0 / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.974, allocations: 4.875 kB / 1.194 GB, free: 162.9 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003414/1.974, allocations: 300.8 kB / 1.194 GB, free: 162.7 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.974, allocations: 126.5 kB / 1.194 GB, free: 162.6 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/1.974, allocations: 3.781 kB / 1.194 GB, free: 162.6 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/1.975, allocations: 40.83 kB / 1.194 GB, free: 162.6 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.975, allocations: 11.28 kB / 1.194 GB, free: 162.6 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/1.975, allocations: 6.062 kB / 1.194 GB, free: 162.6 MB / 0.6589 GB Notification: Performance of sort global known variables: time 0.0001782/1.975, allocations: 196 kB / 1.194 GB, free: 162.5 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0007424/1.976, allocations: 194.5 kB / 1.194 GB, free: 162.5 MB / 0.6589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007865/1.976, allocations: 334.4 kB / 1.195 GB, free: 162.4 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.0002883/1.977, allocations: 145.4 kB / 1.195 GB, free: 162.4 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.977, allocations: 0 / 1.195 GB, free: 162.4 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/1.977, allocations: 65.53 kB / 1.195 GB, free: 162.4 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/1.978, allocations: 131.4 kB / 1.195 GB, free: 162.4 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/1.978, allocations: 370 kB / 1.195 GB, free: 162.3 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/1.979, allocations: 0.8254 MB / 1.196 GB, free: 161.6 MB / 0.6589 GB Notification: Performance of SimCode: time 2.61e-07/1.979, allocations: 0 / 1.196 GB, free: 161.6 MB / 0.6589 GB Notification: Performance of Templates: time 0.01221/1.991, allocations: 6.665 MB / 1.203 GB, free: 161.5 MB / 0.6589 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1)