Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.002727/0.002727, allocations: 180.4 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.6697/0.6697, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.369/1.369, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009549/0.000955, allocations: 99.48 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4116/0.4126, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.6047, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/4.945, allocations: 1.831 GB / 2.465 GB, free: 134 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/4.945, allocations: 91.94 kB / 2.465 GB, free: 133.9 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 6.676/11.62, allocations: 1.805 GB / 4.27 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/11.62, allocations: 8.312 kB / 4.27 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/11.62, allocations: 186.3 kB / 4.27 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/11.63, allocations: 1.375 MB / 4.271 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/11.63, allocations: 19.2 kB / 4.271 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/11.63, allocations: 37.91 kB / 4.271 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/11.63, allocations: 0.5078 MB / 4.272 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/11.63, allocations: 0.7107 MB / 4.272 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/11.63, allocations: 0 / 4.272 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/11.63, allocations: 2.719 kB / 4.272 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/11.63, allocations: 13.72 kB / 4.272 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/11.64, allocations: 4.166 MB / 4.277 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/11.64, allocations: 474.4 kB / 4.277 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/11.64, allocations: 339.3 kB / 4.277 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003701/11.64, allocations: 196.6 kB / 4.278 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/11.64, allocations: 283.1 kB / 4.278 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/11.64, allocations: 0 / 4.278 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002805/11.64, allocations: 0.8164 MB / 4.279 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/11.64, allocations: 89.73 kB / 4.279 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/11.64, allocations: 0.8713 MB / 4.28 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/11.64, allocations: 28.55 kB / 4.28 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/11.64, allocations: 342.6 kB / 4.28 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/11.64, allocations: 111.1 kB / 4.28 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/11.64, allocations: 1.25 kB / 4.28 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/11.64, allocations: 323.1 kB / 4.28 GB, free: 165 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/11.64, allocations: 209 kB / 4.28 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/11.64, allocations: 0.5251 MB / 4.281 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/11.65, allocations: 303.5 kB / 4.281 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/11.65, allocations: 0 / 4.281 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002033/11.65, allocations: 0.9525 MB / 4.282 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006617/11.65, allocations: 2.096 MB / 4.284 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/11.65, allocations: 4 kB / 4.284 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/11.65, allocations: 252.7 kB / 4.285 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/11.65, allocations: 71.89 kB / 4.285 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/11.65, allocations: 1.178 MB / 4.286 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/11.65, allocations: 106.7 kB / 4.286 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/11.65, allocations: 27.98 kB / 4.286 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/11.65, allocations: 6.188 kB / 4.286 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/11.65, allocations: 0.6358 MB / 4.286 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/11.65, allocations: 8 kB / 4.286 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/11.65, allocations: 220.2 kB / 4.287 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/11.65, allocations: 79.48 kB / 4.287 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/11.66, allocations: 2.804 MB / 4.29 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/11.66, allocations: 94.62 kB / 4.29 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/11.66, allocations: 24 kB / 4.29 GB, free: 155.4 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/11.66, allocations: 124 kB / 4.29 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/11.66, allocations: 94.78 kB / 4.29 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/11.66, allocations: 0.717 MB / 4.291 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/11.66, allocations: 4 kB / 4.291 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/11.66, allocations: 4 kB / 4.291 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/11.66, allocations: 3.594 kB / 4.291 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/11.66, allocations: 1.596 MB / 4.292 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/11.66, allocations: 4 kB / 4.292 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/11.66, allocations: 31.42 kB / 4.292 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/11.66, allocations: 209 kB / 4.292 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/11.66, allocations: 7.984 kB / 4.292 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/11.66, allocations: 1.051 MB / 4.293 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/11.66, allocations: 3.938 kB / 4.293 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001056/11.66, allocations: 0.9113 MB / 4.294 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001221/11.67, allocations: 1.335 MB / 4.296 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/11.67, allocations: 219.9 kB / 4.296 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/11.67, allocations: 0 / 4.296 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/11.67, allocations: 68.98 kB / 4.296 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/11.67, allocations: 35.41 kB / 4.296 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/11.67, allocations: 11.98 kB / 4.296 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008587/11.67, allocations: 0.6845 MB / 4.297 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003645/11.67, allocations: 0.679 MB / 4.297 GB, free: 147.4 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/11.67, allocations: 1.043 MB / 4.298 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001708/11.67, allocations: 0.9714 MB / 4.299 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/11.68, allocations: 0 / 4.299 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/11.68, allocations: 222.3 kB / 4.299 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/11.68, allocations: 0.5306 MB / 4.3 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/11.68, allocations: 1.401 MB / 4.301 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/11.68, allocations: 1.264 MB / 4.303 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/11.68, allocations: 0 / 4.303 GB, free: 142.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)