Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002887/0.002887, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6658/0.6658, allocations: 130.6 MB / 138.5 MB, free: 2.16 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.56/1.56, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009727/0.0009725, allocations: 105.2 kB / 473.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.943e-06, allocations: 1.906 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.189, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.891/4.08, allocations: 1.83 GB / 2.457 GB, free: 47.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/4.08, allocations: 83.95 kB / 2.457 GB, free: 47.91 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.8118/4.892, allocations: 221.6 MB / 2.674 GB, free: 91.26 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.438e-05/4.892, allocations: 15.98 kB / 2.674 GB, free: 91.25 MB / 0.6667 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.001059/4.893, allocations: 0.5638 MB / 2.674 GB, free: 90.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/4.893, allocations: 8.031 kB / 2.674 GB, free: 90.63 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/4.894, allocations: 55.67 kB / 2.674 GB, free: 90.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/4.894, allocations: 301.5 kB / 2.675 GB, free: 90.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/4.894, allocations: 4 kB / 2.675 GB, free: 90.24 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/4.894, allocations: 12 kB / 2.675 GB, free: 90.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001953/4.895, allocations: 91.91 kB / 2.675 GB, free: 90.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/4.895, allocations: 157 kB / 2.675 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/4.895, allocations: 0 / 2.675 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/4.895, allocations: 0 / 2.675 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/4.895, allocations: 4 kB / 2.675 GB, free: 89.96 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009839/4.896, allocations: 0.7592 MB / 2.676 GB, free: 89.15 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/4.896, allocations: 66.61 kB / 2.676 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/4.896, allocations: 52.84 kB / 2.676 GB, free: 89.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/4.896, allocations: 198.1 kB / 2.676 GB, free: 88.79 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/4.897, allocations: 30.56 kB / 2.676 GB, free: 88.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/4.897, allocations: 192 / 2.676 GB, free: 88.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0004872/4.897, allocations: 149.3 kB / 2.676 GB, free: 88.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/4.897, allocations: 55.41 kB / 2.676 GB, free: 88.53 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/4.897, allocations: 184.3 kB / 2.676 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/4.897, allocations: 29.7 kB / 2.677 GB, free: 88.31 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/4.897, allocations: 124.1 kB / 2.677 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/4.897, allocations: 31.55 kB / 2.677 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/4.897, allocations: 0 / 2.677 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/4.897, allocations: 334.7 kB / 2.677 GB, free: 87.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/4.897, allocations: 27.92 kB / 2.677 GB, free: 87.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/4.898, allocations: 86.84 kB / 2.677 GB, free: 87.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/4.898, allocations: 35.98 kB / 2.677 GB, free: 87.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.898, allocations: 0 / 2.677 GB, free: 87.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/4.898, allocations: 121.4 kB / 2.677 GB, free: 87.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/4.898, allocations: 363.9 kB / 2.678 GB, free: 87.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/4.898, allocations: 0 / 2.678 GB, free: 87.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/4.898, allocations: 11.97 kB / 2.678 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/4.898, allocations: 23.98 kB / 2.678 GB, free: 87.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/4.898, allocations: 0 / 2.678 GB, free: 87.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/4.898, allocations: 23.89 kB / 2.678 GB, free: 87.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/4.898, allocations: 11.98 kB / 2.678 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/4.898, allocations: 4 kB / 2.678 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001198/4.899, allocations: 64.14 kB / 2.678 GB, free: 87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/4.899, allocations: 7.984 kB / 2.678 GB, free: 86.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/4.899, allocations: 4.031 kB / 2.678 GB, free: 86.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/4.899, allocations: 27.92 kB / 2.678 GB, free: 86.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/4.899, allocations: 4.031 kB / 2.678 GB, free: 86.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/4.899, allocations: 27.83 kB / 2.678 GB, free: 86.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/4.899, allocations: 4 kB / 2.678 GB, free: 86.93 MB / 0.6667 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 6.807e-05/4.899, allocations: 112.9 kB / 2.678 GB, free: 86.81 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/4.899, allocations: 19.72 kB / 2.678 GB, free: 86.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/4.899, allocations: 131.5 kB / 2.678 GB, free: 86.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/4.899, allocations: 4 kB / 2.678 GB, free: 86.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/4.899, allocations: 0 / 2.678 GB, free: 86.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/4.899, allocations: 0 / 2.678 GB, free: 86.64 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/4.9, allocations: 0.5201 MB / 2.679 GB, free: 86.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/4.9, allocations: 0 / 2.679 GB, free: 86.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/4.9, allocations: 23.98 kB / 2.679 GB, free: 86.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/4.9, allocations: 7.984 kB / 2.679 GB, free: 86.03 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/4.9, allocations: 4.219 kB / 2.679 GB, free: 86.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/4.9, allocations: 7.938 kB / 2.679 GB, free: 86.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/4.9, allocations: 7.906 kB / 2.679 GB, free: 86.01 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002248/4.9, allocations: 337.1 kB / 2.679 GB, free: 85.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/4.9, allocations: 108.8 kB / 2.679 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/4.9, allocations: 8 kB / 2.679 GB, free: 85.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/4.901, allocations: 23.88 kB / 2.679 GB, free: 85.44 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/4.901, allocations: 7.984 kB / 2.679 GB, free: 85.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/4.901, allocations: 8 kB / 2.679 GB, free: 85.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.937e-05/4.901, allocations: 152.5 kB / 2.679 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006476/4.901, allocations: 159.7 kB / 2.679 GB, free: 85.12 MB / 0.6667 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.001499/4.903, allocations: 1.032 MB / 2.68 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002623/4.903, allocations: 121.2 kB / 2.68 GB, free: 83.97 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/4.903, allocations: 0 / 2.68 GB, free: 83.97 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/4.903, allocations: 52.05 kB / 2.681 GB, free: 83.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/4.904, allocations: 103 kB / 2.681 GB, free: 83.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/4.905, allocations: 307.9 kB / 2.681 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/4.905, allocations: 0.7828 MB / 2.682 GB, free: 82.67 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/4.905, allocations: 0 / 2.682 GB, free: 82.67 MB / 0.6667 GB Notification: Performance of Templates: time 0.01685/4.922, allocations: 8.993 MB / 2.69 GB, free: 73.73 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)