Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.002088/0.002088, allocations: 180 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5988/0.5988, 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.114/1.114, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008549/0.0008549, allocations: 99.22 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.33e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 82.3 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7215/0.8304, allocations: 374.4 MB / 0.9989 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.8306, allocations: 86.77 kB / 0.9989 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2741/1.105, allocations: 171 MB / 1.166 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.745e-05/1.105, allocations: 12 kB / 1.166 GB, free: 86.71 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007474/1.105, allocations: 0.6653 MB / 1.167 GB, free: 86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/1.105, allocations: 8.031 kB / 1.167 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/1.106, allocations: 43.53 kB / 1.167 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03037/1.136, allocations: 14.67 MB / 1.181 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.136, allocations: 4 kB / 1.181 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/1.136, allocations: 15.98 kB / 1.181 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001789/1.136, allocations: 96.62 kB / 1.181 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/1.136, allocations: 139.8 kB / 1.181 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.136, allocations: 0 / 1.181 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.136, allocations: 0 / 1.181 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.136, allocations: 4 kB / 1.181 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/1.137, allocations: 0.811 MB / 1.182 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.137, allocations: 102.6 kB / 1.182 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/1.138, allocations: 48.84 kB / 1.182 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/1.138, allocations: 340.4 kB / 1.182 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/1.138, allocations: 38.48 kB / 1.183 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/1.138, allocations: 0 / 1.183 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003013/1.138, allocations: 141.4 kB / 1.183 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.596e-05/1.138, allocations: 51.41 kB / 1.183 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.138, allocations: 254 kB / 1.183 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.138, allocations: 25.7 kB / 1.183 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/1.138, allocations: 152.3 kB / 1.183 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/1.138, allocations: 39.39 kB / 1.183 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/1.138, allocations: 0 / 1.183 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/1.138, allocations: 342.8 kB / 1.183 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/1.138, allocations: 27.98 kB / 1.184 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/1.139, allocations: 82.84 kB / 1.184 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/1.139, allocations: 43.97 kB / 1.184 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.139, allocations: 0 / 1.184 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002194/1.139, allocations: 145.1 kB / 1.184 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.139, allocations: 174 kB / 1.184 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.139, allocations: 7.938 kB / 1.184 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/1.139, allocations: 7.984 kB / 1.184 GB, free: 67.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/1.139, allocations: 31.98 kB / 1.184 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/1.139, allocations: 0 / 1.184 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/1.139, allocations: 27.89 kB / 1.184 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.139, allocations: 7.984 kB / 1.184 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-06/1.139, allocations: 4 kB / 1.184 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001799/1.14, allocations: 80.02 kB / 1.184 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/1.14, allocations: 0 / 1.184 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-06/1.14, allocations: 0 / 1.184 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.14, allocations: 31.98 kB / 1.184 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/1.14, allocations: 3.984 kB / 1.184 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/1.14, allocations: 31.81 kB / 1.184 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.14, allocations: 8 kB / 1.184 GB, free: 67.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.837e-05/1.14, allocations: 112.9 kB / 1.184 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/1.14, allocations: 35.53 kB / 1.184 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/1.14, allocations: 191.6 kB / 1.184 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.14, allocations: 0 / 1.184 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.14, allocations: 4 kB / 1.184 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.14, allocations: 3.984 kB / 1.185 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/1.141, allocations: 0.5293 MB / 1.185 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.141, allocations: 0 / 1.185 GB, free: 66.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.141, allocations: 31.97 kB / 1.185 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.141, allocations: 0 / 1.185 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/1.141, allocations: 0 / 1.185 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.141, allocations: 4 kB / 1.185 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.141, allocations: 3.938 kB / 1.185 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002432/1.141, allocations: 317.3 kB / 1.185 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/1.141, allocations: 120.7 kB / 1.185 GB, free: 66.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/1.141, allocations: 4 kB / 1.185 GB, free: 66.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.142, allocations: 27.88 kB / 1.186 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/1.142, allocations: 7.984 kB / 1.186 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.142, allocations: 8 kB / 1.186 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001131/1.142, allocations: 200.6 kB / 1.186 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004804/1.142, allocations: 167.7 kB / 1.186 GB, free: 65.68 MB / 0.6823 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 (14): * Single equations (assignments): 12 * 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.0003853/1.143, allocations: 284.8 kB / 1.186 GB, free: 65.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002116/1.143, allocations: 157.9 kB / 1.186 GB, free: 65.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/1.143, allocations: 0 / 1.186 GB, free: 65.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/1.143, allocations: 59.92 kB / 1.186 GB, free: 65.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/1.143, allocations: 124.5 kB / 1.186 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/1.144, allocations: 371 kB / 1.187 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.144, allocations: 0.8304 MB / 1.188 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/1.144, allocations: 4 kB / 1.188 GB, free: 63.81 MB / 0.6823 GB Notification: Performance of Templates: time 0.00887/1.153, allocations: 6.236 MB / 1.194 GB, free: 57.65 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)