Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.001833/0.001833, allocations: 175.9 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5968/0.5968, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.108/1.108, 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.0008107/0.0008106, allocations: 106.3 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.18e-06, allocations: 0 / 0.5529 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.533/2.638, allocations: 1.831 GB / 2.465 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/2.638, allocations: 91.94 kB / 2.465 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.557/5.195, allocations: 0.9687 GB / 3.433 GB, free: 186 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.698e-05/5.195, allocations: 32.34 kB / 3.433 GB, free: 186 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001479/5.196, allocations: 1.123 MB / 3.435 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/5.196, allocations: 11.69 kB / 3.435 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006953/5.197, allocations: 191.3 kB / 3.435 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/5.199, allocations: 1.092 MB / 3.436 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/5.199, allocations: 17.34 kB / 3.436 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/5.199, allocations: 39.88 kB / 3.436 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006091/5.2, allocations: 490.9 kB / 3.436 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/5.2, allocations: 0.6885 MB / 3.437 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/5.2, allocations: 3.375 kB / 3.437 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/5.2, allocations: 7.219 kB / 3.437 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/5.2, allocations: 15.16 kB / 3.437 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/5.203, allocations: 4.667 MB / 3.442 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/5.204, allocations: 442 kB / 3.442 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/5.204, allocations: 248 kB / 3.442 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/5.204, allocations: 205 kB / 3.442 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/5.204, allocations: 260.8 kB / 3.443 GB, free: 181 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/5.204, allocations: 0 / 3.443 GB, free: 181 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0007786/5.205, allocations: 0.4898 MB / 3.443 GB, free: 181 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/5.205, allocations: 91.38 kB / 3.443 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/5.206, allocations: 0.8777 MB / 3.444 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/5.206, allocations: 28.77 kB / 3.444 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/5.206, allocations: 340.5 kB / 3.444 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/5.206, allocations: 108.1 kB / 3.445 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/5.206, allocations: 0 / 3.445 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/5.206, allocations: 325.8 kB / 3.445 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/5.207, allocations: 188 kB / 3.445 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/5.207, allocations: 0.5059 MB / 3.446 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/5.207, allocations: 284.6 kB / 3.446 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/5.207, allocations: 0 / 3.446 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006874/5.208, allocations: 0.6301 MB / 3.446 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003151/5.208, allocations: 2.096 MB / 3.448 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/5.208, allocations: 3.969 kB / 3.448 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/5.208, allocations: 13.5 kB / 3.448 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/5.21, allocations: 283.3 kB / 3.449 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/5.212, allocations: 6.229 MB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/5.213, allocations: 91.64 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/5.213, allocations: 22.84 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/5.213, allocations: 5.375 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004743/5.213, allocations: 417.4 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/5.213, allocations: 3.5 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/5.213, allocations: 11.12 kB / 3.455 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/5.214, allocations: 152.4 kB / 3.456 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/5.214, allocations: 13.78 kB / 3.456 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/5.214, allocations: 81.72 kB / 3.456 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/5.215, allocations: 28.58 kB / 3.456 GB, free: 171.7 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/5.215, allocations: 121 kB / 3.456 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/5.215, allocations: 97.34 kB / 3.456 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/5.215, allocations: 458.7 kB / 3.456 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/5.215, allocations: 3.219 kB / 3.456 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/5.215, allocations: 7.562 kB / 3.456 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/5.215, allocations: 0 / 3.456 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/5.217, allocations: 1.271 MB / 3.458 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/5.217, allocations: 2.531 kB / 3.458 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/5.217, allocations: 163 kB / 3.458 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/5.217, allocations: 3.906 kB / 3.458 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/5.217, allocations: 7.406 kB / 3.458 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/5.219, allocations: 6.083 MB / 3.464 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.219, allocations: 5.688 kB / 3.464 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004732/5.22, allocations: 0.6418 MB / 3.464 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/5.22, allocations: 203.2 kB / 3.464 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/5.22, allocations: 6.594 kB / 3.464 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/5.22, allocations: 56.62 kB / 3.465 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/5.221, allocations: 35.2 kB / 3.465 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/5.221, allocations: 13.78 kB / 3.465 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006614/5.221, allocations: 0.6841 MB / 3.465 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001241/5.223, allocations: 453.4 kB / 3.466 GB, free: 164.6 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/5.224, allocations: 1.03 MB / 3.467 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002758/5.227, allocations: 0.9456 MB / 3.468 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/5.227, allocations: 0 / 3.468 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/5.227, allocations: 291 kB / 3.468 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/5.229, allocations: 380.9 kB / 3.468 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/5.231, allocations: 1.391 MB / 3.47 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/5.232, allocations: 1.261 MB / 3.471 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/5.232, allocations: 1.094 kB / 3.471 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03537/5.267, allocations: 21.96 MB / 3.492 GB, free: 159.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)