Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7897/0.7897, 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.00148/0.00148, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.1 MB / 399.1 MB, free: 6.055 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.001044/0.001044, allocations: 89.22 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3705/0.3716, allocations: 82.9 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.5609, allocations: 76.74 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/6.252, allocations: 2.138 GB / 2.759 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/6.252, allocations: 91.94 kB / 2.759 GB, free: 45.14 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 6.963/13.22, allocations: 1.764 GB / 4.523 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/13.22, allocations: 7.531 kB / 4.523 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/13.22, allocations: 186.6 kB / 4.524 GB, free: 148 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/13.22, allocations: 1.396 MB / 4.525 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/13.22, allocations: 15.25 kB / 4.525 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/13.22, allocations: 40.75 kB / 4.525 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000825/13.22, allocations: 0.5074 MB / 4.526 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/13.22, allocations: 0.7039 MB / 4.526 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/13.22, allocations: 0 / 4.526 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/13.22, allocations: 3.25 kB / 4.526 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/13.22, allocations: 16.62 kB / 4.526 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/13.23, allocations: 3.984 MB / 4.53 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/13.23, allocations: 0.4942 MB / 4.531 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/13.23, allocations: 339.9 kB / 4.531 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/13.23, allocations: 200.2 kB / 4.531 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/13.23, allocations: 291.2 kB / 4.531 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.265e-06/13.23, allocations: 0 / 4.531 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0201/13.25, allocations: 3.872 MB / 4.535 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/13.25, allocations: 83.67 kB / 4.535 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/13.25, allocations: 0.8682 MB / 4.536 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/13.25, allocations: 25.7 kB / 4.536 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/13.25, allocations: 340.5 kB / 4.536 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/13.25, allocations: 104.9 kB / 4.537 GB, free: 144 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/13.25, allocations: 3.469 kB / 4.537 GB, free: 144 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/13.25, allocations: 334 kB / 4.537 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/13.25, allocations: 380.1 kB / 4.537 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/13.25, allocations: 0.6888 MB / 4.538 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/13.25, allocations: 435.9 kB / 4.538 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/13.25, allocations: 0 / 4.538 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.01764/13.27, allocations: 3.685 MB / 4.542 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005387/13.27, allocations: 2.008 MB / 4.544 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/13.27, allocations: 7.719 kB / 4.544 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/13.27, allocations: 0.6616 MB / 4.545 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/13.27, allocations: 75.3 kB / 4.545 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/13.27, allocations: 2.03 MB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/13.28, allocations: 212.3 kB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/13.28, allocations: 32 kB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/13.28, allocations: 3.719 kB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/13.28, allocations: 0.6284 MB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/13.28, allocations: 3.312 kB / 4.547 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/13.28, allocations: 234.9 kB / 4.548 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/13.28, allocations: 69.45 kB / 4.548 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/13.28, allocations: 2.778 MB / 4.55 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/13.28, allocations: 92.61 kB / 4.551 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/13.28, allocations: 27.28 kB / 4.551 GB, free: 139.2 MB / 0.6511 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_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 (34): * Single equations (assignments): 32 * 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.0002653/13.28, allocations: 120 kB / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/13.28, allocations: 97.34 kB / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/13.28, allocations: 105.2 kB / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/13.28, allocations: 5.75 kB / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/13.28, allocations: 3.938 kB / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/13.28, allocations: 0 / 4.551 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/13.3, allocations: 4.265 MB / 4.555 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/13.3, allocations: 0 / 4.555 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/13.3, allocations: 35.2 kB / 4.555 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/13.3, allocations: 0.6351 MB / 4.556 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/13.3, allocations: 7.438 kB / 4.556 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03426/13.34, allocations: 9.377 MB / 4.565 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/13.34, allocations: 3.562 kB / 4.565 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02075/13.36, allocations: 3.332 MB / 4.568 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02131/13.38, allocations: 3.763 MB / 4.572 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/13.38, allocations: 178.2 kB / 4.572 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/13.38, allocations: 3.875 kB / 4.572 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/13.38, allocations: 173.4 kB / 4.572 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/13.38, allocations: 34.56 kB / 4.572 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/13.38, allocations: 22.12 kB / 4.572 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008419/13.38, allocations: 0.6758 MB / 4.573 GB, free: 136 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003297/13.38, allocations: 0.7616 MB / 4.574 GB, free: 136 MB / 0.6511 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_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 (12): * Single equations (assignments): 9 * 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.001327/13.39, allocations: 1.036 MB / 4.575 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00266/13.39, allocations: 1.405 MB / 4.576 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/13.39, allocations: 0 / 4.576 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/13.39, allocations: 0.6227 MB / 4.577 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/13.39, allocations: 0.5274 MB / 4.577 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/13.4, allocations: 1.819 MB / 4.579 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/13.4, allocations: 1.262 MB / 4.58 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/13.4, allocations: 0 / 4.58 GB, free: 134.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)