Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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/BuildSysPro 3.5.0/package.mo): time 0.6951/0.6951, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 181.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 95.86 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3486/0.3497, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.5488, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.765/6.314, allocations: 2.141 GB / 2.762 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004017/6.314, allocations: 91.94 kB / 2.762 GB, free: 27.16 MB / 0.6355 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 7.016/13.33, allocations: 1.776 GB / 4.538 GB, free: 21.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/13.33, allocations: 8 kB / 4.538 GB, free: 21.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/13.33, allocations: 186.5 kB / 4.538 GB, free: 21.08 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/13.34, allocations: 1.412 MB / 4.54 GB, free: 19.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/13.34, allocations: 19.98 kB / 4.54 GB, free: 19.61 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/13.34, allocations: 40 kB / 4.54 GB, free: 19.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000896/13.34, allocations: 0.5132 MB / 4.54 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/13.34, allocations: 0.6962 MB / 4.541 GB, free: 18.28 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/13.34, allocations: 0 / 4.541 GB, free: 18.28 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/13.34, allocations: 4 kB / 4.541 GB, free: 18.28 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/13.34, allocations: 15.98 kB / 4.541 GB, free: 18.26 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/13.34, allocations: 3.992 MB / 4.545 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/13.34, allocations: 474.6 kB / 4.545 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/13.34, allocations: 327.5 kB / 4.546 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/13.34, allocations: 194.1 kB / 4.546 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/13.34, allocations: 284.9 kB / 4.546 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/13.34, allocations: 0 / 4.546 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32): time 0.00422/13.35, allocations: 1.144 MB / 4.547 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/13.35, allocations: 89.05 kB / 4.547 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/13.35, allocations: 0.8671 MB / 4.548 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/13.35, allocations: 29.7 kB / 4.548 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/13.35, allocations: 336.2 kB / 4.549 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/13.35, allocations: 106.4 kB / 4.549 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/13.35, allocations: 4 kB / 4.549 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/13.35, allocations: 330 kB / 4.549 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/13.35, allocations: 372.7 kB / 4.549 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/13.35, allocations: 0.6792 MB / 4.55 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/13.35, allocations: 426.4 kB / 4.55 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/13.35, allocations: 0 / 4.55 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00141/13.35, allocations: 0.9533 MB / 4.551 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/13.35, allocations: 2.013 MB / 4.553 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/13.35, allocations: 8 kB / 4.553 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/13.35, allocations: 8 kB / 4.553 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/13.35, allocations: 231.6 kB / 4.554 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/13.35, allocations: 8 kB / 4.554 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/13.36, allocations: 211.3 kB / 4.554 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/13.36, allocations: 31.98 kB / 4.554 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/13.36, allocations: 4 kB / 4.554 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006976/13.36, allocations: 440.6 kB / 4.554 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/13.36, allocations: 8 kB / 4.554 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/13.36, allocations: 8.234 kB / 4.554 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/13.36, allocations: 107.8 kB / 4.554 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/13.36, allocations: 8 kB / 4.554 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/13.36, allocations: 95.53 kB / 4.555 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/13.36, allocations: 24 kB / 4.555 GB, free: 3.863 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (54): * Single equations (assignments): 53 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/13.36, allocations: 128.8 kB / 4.555 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/13.36, allocations: 94.86 kB / 4.555 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/13.36, allocations: 109.1 kB / 4.555 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/13.36, allocations: 8 kB / 4.555 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/13.36, allocations: 0 / 4.555 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/13.36, allocations: 4 kB / 4.555 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/13.36, allocations: 1.867 MB / 4.557 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/13.36, allocations: 4.188 kB / 4.557 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/13.36, allocations: 195.7 kB / 4.557 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/13.36, allocations: 7.984 kB / 4.557 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/13.36, allocations: 7.984 kB / 4.557 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/13.36, allocations: 3.906 kB / 4.557 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/13.36, allocations: 4 kB / 4.557 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001123/13.37, allocations: 0.9609 MB / 4.558 GB, free: 348 kB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3528/13.72, allocations: 1.389 MB / 4.559 GB, free: 251.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/13.72, allocations: 178.6 kB / 4.559 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/13.72, allocations: 3.688 kB / 4.559 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/13.72, allocations: 177.7 kB / 4.56 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/13.72, allocations: 31.59 kB / 4.56 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/13.72, allocations: 21.12 kB / 4.56 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001006/13.72, allocations: 0.6841 MB / 4.56 GB, free: 251.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003285/13.73, allocations: 0.6771 MB / 4.561 GB, free: 251.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/13.73, allocations: 1.103 MB / 4.562 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001729/13.73, allocations: 1.129 MB / 4.563 GB, free: 251 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/13.73, allocations: 0 / 4.563 GB, free: 251 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/13.73, allocations: 380.5 kB / 4.563 GB, free: 251 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/13.73, allocations: 0.5256 MB / 4.564 GB, free: 251 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/13.74, allocations: 1.684 MB / 4.566 GB, free: 250.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/13.74, allocations: 1.327 MB / 4.567 GB, free: 249.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.683e-06/13.74, allocations: 0 / 4.567 GB, free: 249.9 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)