Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_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.0009762/0.0009761, allocations: 187 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.85 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.4 MB / 342.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 96.7 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1877/0.1888, allocations: 78.46 MB / 494 MB, free: 8.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.6362, allocations: 72.3 MB / 0.553 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.087/4.723, allocations: 1.824 GB / 2.377 GB, free: 236.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/4.723, allocations: 94.67 kB / 2.377 GB, free: 236.6 MB / 0.6042 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.084/7.808, allocations: 0.9816 GB / 3.359 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/7.808, allocations: 11.66 kB / 3.359 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/7.809, allocations: 189.8 kB / 3.359 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005505/7.815, allocations: 1.394 MB / 3.361 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/7.815, allocations: 16.44 kB / 3.361 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/7.815, allocations: 36.62 kB / 3.361 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/7.816, allocations: 0.5052 MB / 3.361 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/7.818, allocations: 0.7136 MB / 3.362 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/7.818, allocations: 7.438 kB / 3.362 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/7.818, allocations: 0 / 3.362 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/7.818, allocations: 14.97 kB / 3.362 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/7.824, allocations: 4.166 MB / 3.366 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/7.825, allocations: 463.8 kB / 3.366 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/7.825, allocations: 322.8 kB / 3.367 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/7.825, allocations: 200.8 kB / 3.367 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/7.826, allocations: 275.3 kB / 3.367 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/7.826, allocations: 0 / 3.367 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001627/7.828, allocations: 0.5238 MB / 3.368 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/7.828, allocations: 88.11 kB / 3.368 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/7.829, allocations: 0.8771 MB / 3.369 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.317e-05/7.83, allocations: 29.61 kB / 3.369 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/7.83, allocations: 324.7 kB / 3.369 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/7.83, allocations: 117.9 kB / 3.369 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/7.83, allocations: 0 / 3.369 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/7.83, allocations: 327.3 kB / 3.369 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/7.831, allocations: 203.2 kB / 3.37 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/7.831, allocations: 0.5144 MB / 3.37 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/7.832, allocations: 297.7 kB / 3.37 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/7.832, allocations: 0 / 3.37 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001474/7.833, allocations: 0.6448 MB / 3.371 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005256/7.834, allocations: 2.102 MB / 3.373 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/7.834, allocations: 3.969 kB / 3.373 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/7.834, allocations: 11.25 kB / 3.373 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/7.837, allocations: 304.5 kB / 3.373 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/7.839, allocations: 6.234 MB / 3.379 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/7.841, allocations: 99.25 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/7.841, allocations: 30.94 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/7.841, allocations: 6.656 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006772/7.842, allocations: 449.4 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/7.842, allocations: 5.125 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/7.842, allocations: 9.594 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/7.842, allocations: 154.6 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/7.842, allocations: 12.59 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/7.843, allocations: 93.64 kB / 3.38 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/7.843, allocations: 24.06 kB / 3.38 GB, free: 146.3 MB / 0.6042 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.0001782/7.844, allocations: 118.6 kB / 3.38 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/7.844, allocations: 105.7 kB / 3.38 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/7.845, allocations: 476 kB / 3.381 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/7.845, allocations: 7.156 kB / 3.381 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.845, allocations: 0 / 3.381 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/7.845, allocations: 10.73 kB / 3.381 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/7.847, allocations: 1.361 MB / 3.382 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/7.847, allocations: 0 / 3.382 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/7.848, allocations: 160.2 kB / 3.382 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/7.848, allocations: 10.03 kB / 3.382 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/7.848, allocations: 3.375 kB / 3.382 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/7.85, allocations: 6.075 MB / 3.388 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/7.85, allocations: 17.12 kB / 3.388 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006782/7.85, allocations: 0.6749 MB / 3.389 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009322/7.851, allocations: 1.101 MB / 3.39 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/7.852, allocations: 213.6 kB / 3.39 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/7.852, allocations: 7.656 kB / 3.39 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/7.853, allocations: 67.11 kB / 3.39 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/7.853, allocations: 33.67 kB / 3.39 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/7.853, allocations: 13.27 kB / 3.39 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001048/7.854, allocations: 0.6853 MB / 3.391 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003613/7.858, allocations: 0.6579 MB / 3.392 GB, free: 138.4 MB / 0.6042 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.001796/7.859, allocations: 1.115 MB / 3.393 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003284/7.863, allocations: 1.012 MB / 3.394 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/7.863, allocations: 0 / 3.394 GB, free: 137.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/7.864, allocations: 305.7 kB / 3.394 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/7.867, allocations: 0.5334 MB / 3.395 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/7.87, allocations: 1.413 MB / 3.396 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009187/7.871, allocations: 1.267 MB / 3.397 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/7.871, allocations: 0 / 3.397 GB, free: 136.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)