Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="IDEAS_dev_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.002887/0.002887, allocations: 180 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7327/0.7327, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.507/1.507, allocations: 221.3 MB / 395 MB, free: 10.1 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.001184/0.001184, allocations: 97.77 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4935/0.4947, allocations: 88.44 MB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.6924, allocations: 82.3 MB / 0.6333 GB, free: 13.81 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.61/5.302, allocations: 1.834 GB / 2.467 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.303, allocations: 87.89 kB / 2.467 GB, free: 128 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.486/8.789, allocations: 0.9816 GB / 3.449 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/8.789, allocations: 10.34 kB / 3.449 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/8.79, allocations: 195.5 kB / 3.449 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/8.794, allocations: 1.399 MB / 3.45 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/8.794, allocations: 15.53 kB / 3.451 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/8.795, allocations: 38.23 kB / 3.451 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/8.796, allocations: 0.5001 MB / 3.451 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/8.797, allocations: 0.7104 MB / 3.452 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/8.797, allocations: 2.844 kB / 3.452 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/8.797, allocations: 6.375 kB / 3.452 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/8.797, allocations: 13.25 kB / 3.452 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/8.802, allocations: 4.164 MB / 3.456 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/8.803, allocations: 451.5 kB / 3.456 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/8.803, allocations: 332.9 kB / 3.457 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/8.803, allocations: 190.7 kB / 3.457 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/8.804, allocations: 290.3 kB / 3.457 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/8.804, allocations: 0 / 3.457 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001277/8.805, allocations: 0.5132 MB / 3.458 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/8.805, allocations: 84.86 kB / 3.458 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/8.807, allocations: 0.8789 MB / 3.458 GB, free: 182 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/8.807, allocations: 28.02 kB / 3.458 GB, free: 182 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/8.807, allocations: 333.5 kB / 3.459 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/8.807, allocations: 114.4 kB / 3.459 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/8.807, allocations: 0 / 3.459 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/8.807, allocations: 323.1 kB / 3.459 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/8.808, allocations: 203 kB / 3.459 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/8.808, allocations: 0.5117 MB / 3.46 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/8.809, allocations: 305.2 kB / 3.46 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/8.809, allocations: 1.969 kB / 3.46 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001355/8.81, allocations: 0.645 MB / 3.461 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007673/8.811, allocations: 2.09 MB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/8.811, allocations: 9.781 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/8.811, allocations: 9.625 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/8.813, allocations: 298.1 kB / 3.463 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/8.817, allocations: 6.24 MB / 3.469 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/8.819, allocations: 97.98 kB / 3.469 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/8.819, allocations: 26.48 kB / 3.469 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/8.819, allocations: 6.688 kB / 3.469 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00098/8.82, allocations: 449.8 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/8.82, allocations: 6.812 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/8.82, allocations: 11.31 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/8.82, allocations: 157.2 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/8.82, allocations: 12.81 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/8.822, allocations: 87.86 kB / 3.47 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/8.822, allocations: 26.45 kB / 3.47 GB, free: 172.3 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.0002365/8.822, allocations: 129.7 kB / 3.47 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/8.822, allocations: 92.59 kB / 3.47 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009991/8.823, allocations: 496.6 kB / 3.471 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/8.823, allocations: 2.875 kB / 3.471 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/8.823, allocations: 7.969 kB / 3.471 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/8.823, allocations: 2.062 kB / 3.471 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/8.826, allocations: 1.361 MB / 3.472 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/8.826, allocations: 7.594 kB / 3.472 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/8.827, allocations: 168.6 kB / 3.472 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/8.827, allocations: 3.469 kB / 3.472 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/8.827, allocations: 6.609 kB / 3.472 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/8.831, allocations: 6.083 MB / 3.478 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/8.831, allocations: 6.562 kB / 3.478 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001678/8.833, allocations: 0.6763 MB / 3.479 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001354/8.834, allocations: 1.093 MB / 3.48 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/8.835, allocations: 221 kB / 3.48 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/8.835, allocations: 5.25 kB / 3.48 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/8.836, allocations: 70.09 kB / 3.48 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/8.836, allocations: 26.66 kB / 3.48 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/8.836, allocations: 18.92 kB / 3.48 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00138/8.838, allocations: 0.6857 MB / 3.481 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003583/8.841, allocations: 0.6547 MB / 3.482 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 (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.001765/8.843, allocations: 1.114 MB / 3.483 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003513/8.847, allocations: 1.012 MB / 3.484 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/8.847, allocations: 1.594 kB / 3.484 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/8.848, allocations: 313 kB / 3.484 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/8.851, allocations: 0.5238 MB / 3.485 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/8.854, allocations: 1.403 MB / 3.486 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000984/8.855, allocations: 1.272 MB / 3.487 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/8.855, allocations: 7.281 kB / 3.487 GB, free: 161.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)