Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 191.5 kB / 7.801 MB, free: 2.457 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5337/0.5337, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 342.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 100.5 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.165/0.166, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.5101, allocations: 72.3 MB / 0.553 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.872/4.382, allocations: 1.822 GB / 2.375 GB, free: 238.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/4.383, allocations: 93.66 kB / 2.375 GB, free: 238.4 MB / 0.6042 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.002/10.38, allocations: 1.805 GB / 4.18 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/10.39, allocations: 8 kB / 4.18 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/10.39, allocations: 186.5 kB / 4.18 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/10.39, allocations: 1.369 MB / 4.181 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/10.39, allocations: 16 kB / 4.181 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/10.39, allocations: 39.98 kB / 4.181 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000765/10.39, allocations: 0.5094 MB / 4.182 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/10.39, allocations: 0.7137 MB / 4.183 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/10.39, allocations: 4 kB / 4.183 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/10.39, allocations: 0 / 4.183 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/10.39, allocations: 19.94 kB / 4.183 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/10.39, allocations: 4.154 MB / 4.187 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/10.4, allocations: 485 kB / 4.187 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/10.4, allocations: 345.1 kB / 4.188 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/10.4, allocations: 194.2 kB / 4.188 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/10.4, allocations: 283 kB / 4.188 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/10.4, allocations: 3.938 kB / 4.188 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001675/10.4, allocations: 0.8185 MB / 4.189 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/10.4, allocations: 85.09 kB / 4.189 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/10.4, allocations: 0.8791 MB / 4.19 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/10.4, allocations: 25.7 kB / 4.19 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/10.4, allocations: 340.1 kB / 4.19 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/10.4, allocations: 110.4 kB / 4.19 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/10.4, allocations: 0 / 4.19 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.862e-05/10.4, allocations: 329.9 kB / 4.19 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/10.4, allocations: 208.9 kB / 4.191 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/10.4, allocations: 0.5279 MB / 4.191 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/10.4, allocations: 290.1 kB / 4.191 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/10.4, allocations: 0 / 4.191 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001428/10.4, allocations: 0.9511 MB / 4.192 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/10.4, allocations: 2.1 MB / 4.194 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/10.4, allocations: 8 kB / 4.194 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/10.4, allocations: 244.6 kB / 4.195 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/10.4, allocations: 67.89 kB / 4.195 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/10.4, allocations: 1.183 MB / 4.196 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/10.4, allocations: 103.5 kB / 4.196 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/10.4, allocations: 27.98 kB / 4.196 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/10.4, allocations: 4 kB / 4.196 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009614/10.41, allocations: 0.6426 MB / 4.197 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/10.41, allocations: 8.734 kB / 4.197 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/10.41, allocations: 228.8 kB / 4.197 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/10.41, allocations: 79.77 kB / 4.197 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/10.41, allocations: 2.781 MB / 4.2 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/10.41, allocations: 91.66 kB / 4.2 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/10.41, allocations: 24 kB / 4.2 GB, free: 28.07 MB / 0.6042 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.0001183/10.41, allocations: 129.5 kB / 4.2 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/10.41, allocations: 90.88 kB / 4.2 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/10.41, allocations: 0.7219 MB / 4.201 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/10.41, allocations: 0 / 4.201 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/10.41, allocations: 4 kB / 4.201 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/10.41, allocations: 0 / 4.201 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/10.41, allocations: 1.601 MB / 4.202 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/10.41, allocations: 7.938 kB / 4.202 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/10.41, allocations: 27.98 kB / 4.202 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/10.41, allocations: 217.1 kB / 4.203 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/10.41, allocations: 7.984 kB / 4.203 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006831/10.41, allocations: 1.043 MB / 4.204 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/10.41, allocations: 0 / 4.204 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008888/10.42, allocations: 0.9156 MB / 4.204 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001053/10.42, allocations: 1.332 MB / 4.206 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/10.42, allocations: 219.9 kB / 4.206 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/10.42, allocations: 7.891 kB / 4.206 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/10.42, allocations: 71.77 kB / 4.206 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/10.42, allocations: 27.91 kB / 4.206 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/10.42, allocations: 19.98 kB / 4.206 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006193/10.42, allocations: 0.6767 MB / 4.207 GB, free: 20.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002642/10.42, allocations: 0.6867 MB / 4.207 GB, free: 19.96 MB / 0.6042 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.001091/10.42, allocations: 1.046 MB / 4.208 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001197/10.42, allocations: 0.9711 MB / 4.209 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/10.42, allocations: 0 / 4.209 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/10.42, allocations: 222.3 kB / 4.21 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/10.43, allocations: 0.5179 MB / 4.21 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/10.43, allocations: 1.413 MB / 4.211 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/10.43, allocations: 1.263 MB / 4.213 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/10.43, allocations: 0 / 4.213 GB, free: 14.44 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)