Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") [: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.001876/0.001877, allocations: 174.2 kB / 7.458 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5927/0.5927, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.139/1.139, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008719/0.0008719, allocations: 91.11 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.342e-06, allocations: 0 / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.676/2.794, allocations: 1.83 GB / 2.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/2.794, allocations: 79.95 kB / 2.463 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.58/3.374, allocations: 221.6 MB / 2.68 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.235e-05/3.374, allocations: 14.44 kB / 2.68 GB, free: 169.8 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006767/3.375, allocations: 0.5555 MB / 2.68 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/3.375, allocations: 15.95 kB / 2.68 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/3.375, allocations: 55.67 kB / 2.68 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/3.375, allocations: 316.6 kB / 2.681 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/3.375, allocations: 4 kB / 2.681 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/3.375, allocations: 12 kB / 2.681 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001483/3.376, allocations: 87.97 kB / 2.681 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/3.376, allocations: 156.1 kB / 2.681 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/3.376, allocations: 4 kB / 2.681 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/3.376, allocations: 0 / 2.681 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/3.376, allocations: 4 kB / 2.681 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/3.377, allocations: 0.748 MB / 2.682 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/3.377, allocations: 66.55 kB / 2.682 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/3.377, allocations: 57.09 kB / 2.682 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/3.377, allocations: 198 kB / 2.682 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/3.377, allocations: 38.5 kB / 2.682 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/3.377, allocations: 0 / 2.682 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003976/3.377, allocations: 137.4 kB / 2.682 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.331e-05/3.377, allocations: 51.41 kB / 2.682 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/3.378, allocations: 192.2 kB / 2.682 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/3.378, allocations: 25.7 kB / 2.682 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/3.378, allocations: 128.2 kB / 2.683 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/3.378, allocations: 35.48 kB / 2.683 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/3.378, allocations: 0 / 2.683 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/3.378, allocations: 330.7 kB / 2.683 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/3.378, allocations: 27.98 kB / 2.683 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/3.378, allocations: 86.84 kB / 2.683 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/3.378, allocations: 51.89 kB / 2.683 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/3.378, allocations: 0 / 2.683 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/3.378, allocations: 117.4 kB / 2.683 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/3.378, allocations: 367.9 kB / 2.683 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/3.378, allocations: 3.938 kB / 2.683 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/3.378, allocations: 0 / 2.683 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/3.378, allocations: 23.98 kB / 2.684 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/3.378, allocations: 4 kB / 2.684 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/3.378, allocations: 23.89 kB / 2.684 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/3.379, allocations: 4 kB / 2.684 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/3.379, allocations: 4 kB / 2.684 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001048/3.379, allocations: 71.89 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/3.379, allocations: 3.938 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/3.379, allocations: 8.031 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/3.379, allocations: 23.98 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/3.379, allocations: 3.984 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/3.379, allocations: 23.89 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/3.379, allocations: 12 kB / 2.684 GB, free: 165.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 4.821e-05/3.379, allocations: 104.9 kB / 2.684 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/3.379, allocations: 24 kB / 2.684 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/3.379, allocations: 127.2 kB / 2.684 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/3.379, allocations: 0 / 2.684 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/3.379, allocations: 0 / 2.684 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/3.379, allocations: 288 / 2.684 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/3.38, allocations: 0.5197 MB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/3.38, allocations: 4 kB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/3.38, allocations: 36.14 kB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/3.38, allocations: 4 kB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/3.38, allocations: 0 / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/3.38, allocations: 7.984 kB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/3.38, allocations: 3.906 kB / 2.684 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000173/3.38, allocations: 341.1 kB / 2.685 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/3.38, allocations: 104.9 kB / 2.685 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/3.38, allocations: 4 kB / 2.685 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/3.38, allocations: 31.88 kB / 2.685 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/3.38, allocations: 4 kB / 2.685 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/3.381, allocations: 8 kB / 2.685 GB, free: 164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001004/3.381, allocations: 152.5 kB / 2.685 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005152/3.381, allocations: 167.5 kB / 2.685 GB, free: 163.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001025/3.382, allocations: 1.031 MB / 2.686 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001949/3.382, allocations: 125.1 kB / 2.686 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/3.382, allocations: 4 kB / 2.686 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.223e-05/3.382, allocations: 43.92 kB / 2.686 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/3.383, allocations: 103.7 kB / 2.687 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/3.383, allocations: 294.5 kB / 2.687 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/3.384, allocations: 0.7868 MB / 2.688 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/3.384, allocations: 0 / 2.688 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01194/3.396, allocations: 8.98 MB / 2.696 GB, free: 152.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)