Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.001796/0.001796, allocations: 177.6 kB / 7.457 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5969/0.5969, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.141/1.141, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009334/0.0009334, allocations: 97.67 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.111e-06, allocations: 2.625 kB / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.674/2.792, allocations: 1.834 GB / 2.467 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/2.792, allocations: 95.88 kB / 2.467 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.456/5.248, allocations: 0.9809 GB / 3.448 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.249e-05/5.248, allocations: 33.22 kB / 3.448 GB, free: 182.4 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001515/5.249, allocations: 1.148 MB / 3.449 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/5.249, allocations: 9.625 kB / 3.449 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/5.25, allocations: 184.6 kB / 3.449 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/5.252, allocations: 1.117 MB / 3.451 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/5.252, allocations: 18.12 kB / 3.451 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/5.252, allocations: 47.75 kB / 3.451 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005854/5.253, allocations: 487 kB / 3.451 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007113/5.254, allocations: 0.686 MB / 3.452 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/5.254, allocations: 5.406 kB / 3.452 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/5.254, allocations: 2.406 kB / 3.452 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/5.254, allocations: 13.81 kB / 3.452 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/5.257, allocations: 4.66 MB / 3.456 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/5.257, allocations: 454.1 kB / 3.457 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/5.257, allocations: 258.7 kB / 3.457 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/5.258, allocations: 196.3 kB / 3.457 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/5.258, allocations: 265.5 kB / 3.457 GB, free: 176 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/5.258, allocations: 0 / 3.457 GB, free: 176 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001443/5.259, allocations: 0.75 MB / 3.458 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/5.259, allocations: 88.17 kB / 3.458 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/5.26, allocations: 0.8811 MB / 3.459 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/5.26, allocations: 28.05 kB / 3.459 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/5.26, allocations: 334.9 kB / 3.459 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/5.261, allocations: 106.6 kB / 3.46 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/5.261, allocations: 0 / 3.46 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/5.261, allocations: 328.5 kB / 3.46 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/5.261, allocations: 181.7 kB / 3.46 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/5.261, allocations: 0.5108 MB / 3.461 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/5.261, allocations: 275.5 kB / 3.461 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.261, allocations: 1.219 kB / 3.461 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001359/5.263, allocations: 0.8898 MB / 3.462 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002886/5.263, allocations: 2.098 MB / 3.464 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/5.263, allocations: 5.125 kB / 3.464 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/5.264, allocations: 258.5 kB / 3.464 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/5.264, allocations: 68.58 kB / 3.464 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/5.265, allocations: 1.242 MB / 3.465 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/5.266, allocations: 85.23 kB / 3.465 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/5.266, allocations: 28.19 kB / 3.465 GB, free: 170 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/5.266, allocations: 4.719 kB / 3.465 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009148/5.267, allocations: 0.5798 MB / 3.466 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/5.267, allocations: 5.719 kB / 3.466 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/5.268, allocations: 219.6 kB / 3.466 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/5.268, allocations: 63.78 kB / 3.466 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/5.27, allocations: 2.746 MB / 3.469 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/5.271, allocations: 81.59 kB / 3.469 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/5.271, allocations: 27.02 kB / 3.469 GB, free: 167.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001101/5.271, allocations: 124.9 kB / 3.469 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/5.271, allocations: 97.44 kB / 3.469 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/5.272, allocations: 0.6554 MB / 3.47 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/5.272, allocations: 3.812 kB / 3.47 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/5.272, allocations: 4.688 kB / 3.47 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/5.272, allocations: 4.766 kB / 3.47 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/5.274, allocations: 1.471 MB / 3.471 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/5.274, allocations: 1.875 kB / 3.471 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/5.274, allocations: 29.7 kB / 3.471 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/5.274, allocations: 210.2 kB / 3.472 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/5.274, allocations: 9.922 kB / 3.472 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009053/5.275, allocations: 1.096 MB / 3.473 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.275, allocations: 5.5 kB / 3.473 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008598/5.276, allocations: 0.8458 MB / 3.473 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/5.276, allocations: 214.8 kB / 3.474 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/5.277, allocations: 8 kB / 3.474 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/5.277, allocations: 51.09 kB / 3.474 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/5.277, allocations: 30.45 kB / 3.474 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/5.277, allocations: 15.98 kB / 3.474 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005849/5.278, allocations: 0.6847 MB / 3.474 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001141/5.279, allocations: 489.9 kB / 3.475 GB, free: 163.2 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/5.28, allocations: 1.102 MB / 3.476 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001636/5.282, allocations: 1.031 MB / 3.477 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.282, allocations: 3.562 kB / 3.477 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/5.282, allocations: 255.9 kB / 3.477 GB, free: 161 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/5.283, allocations: 368.1 kB / 3.478 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/5.285, allocations: 1.386 MB / 3.479 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/5.286, allocations: 1.256 MB / 3.48 GB, free: 158 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/5.286, allocations: 3.562 kB / 3.48 GB, free: 158 MB / 0.6823 GB Notification: Performance of Templates: time 0.02734/5.313, allocations: 23.04 MB / 3.503 GB, free: 135.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)