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: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [: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.7746/0.7746, allocations: 127.4 MB / 134.6 MB, free: 4.137 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.001529/0.001529, 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.124/2.124, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001426/0.001426, allocations: 95.83 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.088e-05/1.091e-05, allocations: 0 / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 76.75 MB / 0.6209 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.585, allocations: 2.138 GB / 2.759 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/5.585, allocations: 91.94 kB / 2.759 GB, free: 60.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.432/12.02, allocations: 1.763 GB / 4.522 GB, free: 162 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001725/12.02, allocations: 34.08 kB / 4.522 GB, free: 162 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 0.004591/12.02, allocations: 1.18 MB / 4.523 GB, free: 161.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/12.02, allocations: 12.78 kB / 4.523 GB, free: 161.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/12.02, allocations: 187.5 kB / 4.524 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/12.03, allocations: 1.393 MB / 4.525 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/12.03, allocations: 15.5 kB / 4.525 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/12.03, allocations: 38.62 kB / 4.525 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/12.03, allocations: 0.5142 MB / 4.525 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/12.03, allocations: 0.7005 MB / 4.526 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/12.03, allocations: 1.312 kB / 4.526 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/12.03, allocations: 3.531 kB / 4.526 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/12.03, allocations: 15.31 kB / 4.526 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/12.03, allocations: 3.992 MB / 4.53 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/12.03, allocations: 0.4927 MB / 4.531 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/12.03, allocations: 342.6 kB / 4.531 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/12.04, allocations: 197.8 kB / 4.531 GB, free: 158 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/12.04, allocations: 286.4 kB / 4.531 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.305e-06/12.04, allocations: 0 / 4.531 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.01973/12.06, allocations: 3.869 MB / 4.535 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/12.06, allocations: 86.55 kB / 4.535 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/12.06, allocations: 0.8819 MB / 4.536 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/12.06, allocations: 25.7 kB / 4.536 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/12.06, allocations: 337 kB / 4.536 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/12.06, allocations: 107.3 kB / 4.537 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/12.06, allocations: 0 / 4.537 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/12.06, allocations: 328.9 kB / 4.537 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/12.06, allocations: 383.2 kB / 4.537 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/12.06, allocations: 0.6842 MB / 4.538 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/12.06, allocations: 432.4 kB / 4.538 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/12.06, allocations: 0 / 4.538 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0172/12.08, allocations: 3.679 MB / 4.542 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005317/12.08, allocations: 2.013 MB / 4.544 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/12.08, allocations: 9.812 kB / 4.544 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/12.08, allocations: 0.6727 MB / 4.545 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/12.08, allocations: 74.12 kB / 4.545 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/12.08, allocations: 2.032 MB / 4.547 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/12.08, allocations: 206.3 kB / 4.547 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/12.08, allocations: 29.75 kB / 4.547 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/12.08, allocations: 3.969 kB / 4.547 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/12.09, allocations: 0.6301 MB / 4.547 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/12.09, allocations: 7.438 kB / 4.547 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/12.09, allocations: 229.5 kB / 4.548 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/12.09, allocations: 67.52 kB / 4.548 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/12.09, allocations: 2.792 MB / 4.55 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/12.09, allocations: 89.16 kB / 4.551 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/12.09, allocations: 22 kB / 4.551 GB, free: 152.6 MB / 0.6355 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.0002861/12.09, allocations: 126.1 kB / 4.551 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/12.09, allocations: 91.72 kB / 4.551 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/12.09, allocations: 114.3 kB / 4.551 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/12.09, allocations: 3.906 kB / 4.551 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/12.09, allocations: 0 / 4.551 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/12.09, allocations: 11.34 kB / 4.551 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/12.11, allocations: 4.249 MB / 4.555 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/12.11, allocations: 1.375 kB / 4.555 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/12.11, allocations: 36.67 kB / 4.555 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/12.11, allocations: 0.6267 MB / 4.556 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/12.11, allocations: 12.36 kB / 4.556 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03082/12.14, allocations: 9.381 MB / 4.565 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/12.14, allocations: 1.875 kB / 4.565 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01629/12.16, allocations: 3.329 MB / 4.568 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/12.16, allocations: 175 kB / 4.568 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/12.16, allocations: 6.516 kB / 4.568 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/12.16, allocations: 182.1 kB / 4.568 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/12.16, allocations: 33.67 kB / 4.568 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/12.16, allocations: 18.11 kB / 4.568 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001257/12.16, allocations: 0.6784 MB / 4.569 GB, free: 150 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002619/12.17, allocations: 0.5796 MB / 4.57 GB, free: 150 MB / 0.6355 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.002035/12.17, allocations: 1.034 MB / 4.571 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003529/12.17, allocations: 1.402 MB / 4.572 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/12.17, allocations: 1.281 kB / 4.572 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/12.17, allocations: 0.6285 MB / 4.573 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/12.18, allocations: 0.5172 MB / 4.573 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/12.18, allocations: 1.826 MB / 4.575 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/12.18, allocations: 1.26 MB / 4.576 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/12.18, allocations: 4.281 kB / 4.576 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.06512/12.25, allocations: 35.79 MB / 4.611 GB, free: 118.7 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)