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: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [: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.7168/0.7168, allocations: 127.4 MB / 134.6 MB, free: 9.789 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 177.8 kB / 164.4 MB, free: 5.445 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 399.1 MB, free: 2.945 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 100.4 kB / 476.3 MB, free: 2.594 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.143e-06, allocations: 0 / 0.546 GB, free: 15.75 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4745, allocations: 76.73 MB / 0.6209 GB, free: 86.52 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.087, allocations: 2.141 GB / 2.762 GB, free: 80.36 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/5.088, allocations: 97.95 kB / 2.762 GB, free: 80.27 MB / 0.6433 GB Notification: Performance of FrontEnd: time 6.343/11.43, allocations: 1.775 GB / 4.537 GB, free: 15.8 MB / 0.6433 GB Notification: Performance of Transformations before backend: time 0.0001978/11.43, allocations: 35.98 kB / 4.537 GB, free: 15.76 MB / 0.6433 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 0.004573/11.44, allocations: 1.198 MB / 4.538 GB, free: 14.51 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/11.44, allocations: 12.03 kB / 4.538 GB, free: 14.5 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/11.44, allocations: 182.5 kB / 4.538 GB, free: 14.32 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/11.44, allocations: 1.42 MB / 4.54 GB, free: 12.86 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/11.44, allocations: 16 kB / 4.54 GB, free: 12.84 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/11.44, allocations: 40 kB / 4.54 GB, free: 12.8 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001007/11.44, allocations: 0.5094 MB / 4.54 GB, free: 12.29 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/11.44, allocations: 0.7001 MB / 4.541 GB, free: 11.52 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/11.44, allocations: 4 kB / 4.541 GB, free: 11.51 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/11.44, allocations: 0 / 4.541 GB, free: 11.51 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/11.44, allocations: 16 kB / 4.541 GB, free: 11.5 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/11.45, allocations: 3.983 MB / 4.545 GB, free: 7.27 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/11.45, allocations: 476.5 kB / 4.545 GB, free: 6.797 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/11.45, allocations: 322.7 kB / 4.546 GB, free: 6.477 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/11.45, allocations: 190.2 kB / 4.546 GB, free: 6.254 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/11.45, allocations: 285.1 kB / 4.546 GB, free: 5.957 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/11.45, allocations: 0 / 4.546 GB, free: 5.957 MB / 0.6433 GB Notification: Performance of matching and sorting (n=32): time 0.004184/11.45, allocations: 1.137 MB / 4.547 GB, free: 4.812 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/11.45, allocations: 97.09 kB / 4.547 GB, free: 4.699 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/11.46, allocations: 0.871 MB / 4.548 GB, free: 3.809 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/11.46, allocations: 29.7 kB / 4.548 GB, free: 3.773 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/11.46, allocations: 340.2 kB / 4.549 GB, free: 3.434 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/11.46, allocations: 102.5 kB / 4.549 GB, free: 3.332 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/11.46, allocations: 0 / 4.549 GB, free: 3.332 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/11.46, allocations: 326 kB / 4.549 GB, free: 3.008 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/11.46, allocations: 376.6 kB / 4.549 GB, free: 2.641 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/11.46, allocations: 0.6831 MB / 4.55 GB, free: 1.82 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/11.46, allocations: 422.4 kB / 4.55 GB, free: 1.41 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/11.46, allocations: 4 kB / 4.55 GB, free: 1.406 MB / 0.6433 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00146/11.46, allocations: 0.9613 MB / 4.551 GB, free: 448 kB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 0.3253/11.79, allocations: 2.004 MB / 4.553 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/11.79, allocations: 3.938 kB / 4.553 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/11.79, allocations: 10.53 kB / 4.553 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/11.79, allocations: 236.4 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/11.79, allocations: 16.06 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/11.79, allocations: 205 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/11.79, allocations: 29.2 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/11.79, allocations: 9.406 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006225/11.79, allocations: 439.1 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/11.79, allocations: 3.875 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/11.79, allocations: 7.812 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/11.79, allocations: 119.1 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/11.79, allocations: 10.94 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/11.79, allocations: 89.19 kB / 4.554 GB, free: 222.8 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/11.79, allocations: 23.88 kB / 4.555 GB, free: 222.8 MB / 0.6433 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.0001614/11.79, allocations: 120.3 kB / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/11.79, allocations: 99.03 kB / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/11.79, allocations: 108.7 kB / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/11.79, allocations: 3.812 kB / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/11.79, allocations: 3.625 kB / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/11.79, allocations: 0 / 4.555 GB, free: 222.7 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/11.79, allocations: 1.87 MB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/11.79, allocations: 3.719 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/11.79, allocations: 191 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/11.79, allocations: 2.406 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/11.8, allocations: 13.97 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/11.8, allocations: 7.75 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/11.8, allocations: 1.406 kB / 4.557 GB, free: 222.3 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001074/11.8, allocations: 0.9563 MB / 4.558 GB, free: 222 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/11.8, allocations: 172 kB / 4.558 GB, free: 221.9 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/11.8, allocations: 4.719 kB / 4.558 GB, free: 221.9 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/11.8, allocations: 174.9 kB / 4.558 GB, free: 221.9 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/11.8, allocations: 38.81 kB / 4.558 GB, free: 221.9 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/11.8, allocations: 12.89 kB / 4.558 GB, free: 221.9 MB / 0.6433 GB Notification: Performance of sort global known variables: time 0.0007372/11.8, allocations: 0.6814 MB / 4.559 GB, free: 221.8 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.001441/11.8, allocations: 491.6 kB / 4.559 GB, free: 221.8 MB / 0.6433 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.001495/11.8, allocations: 1.123 MB / 4.56 GB, free: 221.6 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.001348/11.8, allocations: 1.131 MB / 4.562 GB, free: 221.5 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/11.8, allocations: 0 / 4.562 GB, free: 221.5 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 0.0004749/11.8, allocations: 384.2 kB / 4.562 GB, free: 221.5 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/11.81, allocations: 0.5254 MB / 4.562 GB, free: 221.5 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/11.81, allocations: 1.682 MB / 4.564 GB, free: 221.2 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000999/11.81, allocations: 1.326 MB / 4.565 GB, free: 220.4 MB / 0.6433 GB Notification: Performance of SimCode: time 5.21e-07/11.81, allocations: 0 / 4.565 GB, free: 220.4 MB / 0.6433 GB Notification: Performance of Templates: time 0.0418/11.85, allocations: 27.14 MB / 4.592 GB, free: 220 MB / 0.6433 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)