Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) [: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.002293/0.002293, allocations: 183.4 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6796/0.6796, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.443/1.443, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009641/0.0009641, allocations: 106 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4633/0.4643, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.6736, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.804, allocations: 1.834 GB / 2.467 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.805, allocations: 91.94 kB / 2.467 GB, free: 113.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 3.782/9.586, allocations: 0.9816 GB / 3.449 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/9.586, allocations: 10 kB / 3.449 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/9.588, allocations: 188.6 kB / 3.449 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005627/9.594, allocations: 1.394 MB / 3.45 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/9.594, allocations: 16.12 kB / 3.45 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/9.594, allocations: 37.78 kB / 3.451 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/9.595, allocations: 0.5039 MB / 3.451 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/9.596, allocations: 0.7094 MB / 3.452 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/9.596, allocations: 8.125 kB / 3.452 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/9.596, allocations: 2.969 kB / 3.452 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/9.597, allocations: 12.66 kB / 3.452 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/9.601, allocations: 4.168 MB / 3.456 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/9.602, allocations: 453.7 kB / 3.456 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/9.602, allocations: 329.5 kB / 3.457 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/9.603, allocations: 189.3 kB / 3.457 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/9.603, allocations: 291.5 kB / 3.457 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/9.603, allocations: 0.5312 kB / 3.457 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001394/9.605, allocations: 0.5175 MB / 3.458 GB, free: 176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/9.605, allocations: 81.36 kB / 3.458 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/9.606, allocations: 0.8768 MB / 3.458 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/9.606, allocations: 28.58 kB / 3.458 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/9.607, allocations: 338.2 kB / 3.459 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/9.607, allocations: 114.9 kB / 3.459 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/9.607, allocations: 1.188 kB / 3.459 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/9.607, allocations: 319.7 kB / 3.459 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/9.607, allocations: 208.7 kB / 3.459 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/9.608, allocations: 0.5143 MB / 3.46 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/9.608, allocations: 297.3 kB / 3.46 GB, free: 174 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/9.608, allocations: 1.406 kB / 3.46 GB, free: 174 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001127/9.61, allocations: 0.6538 MB / 3.461 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004122/9.61, allocations: 2.093 MB / 3.463 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/9.61, allocations: 9.094 kB / 3.463 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/9.61, allocations: 10.09 kB / 3.463 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/9.612, allocations: 296.4 kB / 3.463 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/9.615, allocations: 6.236 MB / 3.469 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/9.616, allocations: 104.8 kB / 3.469 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/9.616, allocations: 26.86 kB / 3.469 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/9.616, allocations: 8.844 kB / 3.469 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006523/9.617, allocations: 447.2 kB / 3.47 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/9.617, allocations: 5.969 kB / 3.47 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/9.617, allocations: 8.438 kB / 3.47 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/9.618, allocations: 153.7 kB / 3.47 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/9.618, allocations: 11.78 kB / 3.47 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/9.619, allocations: 92.69 kB / 3.47 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/9.619, allocations: 22.88 kB / 3.47 GB, free: 164.9 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 (55): * Single equations (assignments): 44 * 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.0001904/9.619, allocations: 126.8 kB / 3.47 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/9.619, allocations: 95.61 kB / 3.47 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/9.62, allocations: 494.9 kB / 3.471 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/9.62, allocations: 3.812 kB / 3.471 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/9.62, allocations: 0.9062 kB / 3.471 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/9.62, allocations: 0.5625 kB / 3.471 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/9.623, allocations: 1.364 MB / 3.472 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/9.623, allocations: 2.719 kB / 3.472 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/9.623, allocations: 168.5 kB / 3.472 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/9.623, allocations: 3.281 kB / 3.472 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/9.624, allocations: 7.984 kB / 3.472 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/9.626, allocations: 6.086 MB / 3.478 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/9.626, allocations: 2.031 kB / 3.478 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00109/9.627, allocations: 0.6784 MB / 3.479 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001273/9.628, allocations: 1.096 MB / 3.48 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/9.629, allocations: 219.8 kB / 3.48 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/9.629, allocations: 7.938 kB / 3.48 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/9.63, allocations: 70.61 kB / 3.48 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/9.63, allocations: 27.95 kB / 3.48 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/9.63, allocations: 19.91 kB / 3.48 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000955/9.631, allocations: 0.6881 MB / 3.481 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003734/9.635, allocations: 0.6634 MB / 3.482 GB, free: 154.3 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 (33): * Single equations (assignments): 21 * 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.001534/9.636, allocations: 1.098 MB / 3.483 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003268/9.64, allocations: 1.018 MB / 3.484 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/9.64, allocations: 0 / 3.484 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/9.641, allocations: 309.5 kB / 3.484 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/9.644, allocations: 0.5243 MB / 3.485 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/9.646, allocations: 1.407 MB / 3.486 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/9.647, allocations: 1.273 MB / 3.487 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/9.647, allocations: 4 kB / 3.487 GB, free: 148.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)