Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.001423/0.001423, allocations: 190.5 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4619/0.4619, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.219 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.001014/0.001014, allocations: 89.38 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.1681, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.5479, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.078/4.626, allocations: 1.822 GB / 2.375 GB, free: 229.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/4.626, allocations: 96.02 kB / 2.375 GB, free: 229.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 6.941/11.57, allocations: 1.999 GB / 4.374 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/11.57, allocations: 8 kB / 4.374 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/11.57, allocations: 206.3 kB / 4.375 GB, free: 76.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/11.57, allocations: 1.434 MB / 4.376 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/11.57, allocations: 16 kB / 4.376 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/11.57, allocations: 40 kB / 4.376 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/11.57, allocations: 0.7209 MB / 4.377 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/11.58, allocations: 0.8798 MB / 4.378 GB, free: 73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/11.58, allocations: 3.938 kB / 4.378 GB, free: 73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/11.58, allocations: 4 kB / 4.378 GB, free: 72.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/11.58, allocations: 16 kB / 4.378 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/11.58, allocations: 4.713 MB / 4.382 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/11.58, allocations: 0.5305 MB / 4.383 GB, free: 67.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/11.58, allocations: 441.9 kB / 4.383 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/11.58, allocations: 201.3 kB / 4.383 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/11.58, allocations: 301.2 kB / 4.384 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/11.58, allocations: 0 / 4.384 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002032/11.58, allocations: 0.9424 MB / 4.385 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/11.58, allocations: 89.09 kB / 4.385 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/11.59, allocations: 0.9101 MB / 4.385 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/11.59, allocations: 33.64 kB / 4.386 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/11.59, allocations: 356.2 kB / 4.386 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/11.59, allocations: 124.6 kB / 4.386 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/11.59, allocations: 0 / 4.386 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001071/11.59, allocations: 326 kB / 4.386 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/11.59, allocations: 228.9 kB / 4.387 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/11.59, allocations: 0.5459 MB / 4.387 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/11.59, allocations: 329.5 kB / 4.387 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/11.59, allocations: 4 kB / 4.387 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002208/11.59, allocations: 1.067 MB / 4.388 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007/11.59, allocations: 2.088 MB / 4.39 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/11.59, allocations: 15.94 kB / 4.39 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007074/11.59, allocations: 333.9 kB / 4.391 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/11.59, allocations: 63.91 kB / 4.391 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/11.59, allocations: 1.352 MB / 4.392 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/11.59, allocations: 115.5 kB / 4.392 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/11.59, allocations: 24 kB / 4.392 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/11.59, allocations: 4 kB / 4.392 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/11.6, allocations: 0.7587 MB / 4.393 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/11.6, allocations: 8 kB / 4.393 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000737/11.6, allocations: 313 kB / 4.393 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/11.6, allocations: 59.91 kB / 4.393 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/11.6, allocations: 3.443 MB / 4.397 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/11.6, allocations: 107.8 kB / 4.397 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/11.6, allocations: 24 kB / 4.397 GB, free: 52.38 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 (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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001628/11.6, allocations: 128.9 kB / 4.397 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/11.6, allocations: 102.8 kB / 4.397 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/11.6, allocations: 0.8538 MB / 4.398 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/11.6, allocations: 4 kB / 4.398 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/11.6, allocations: 0 / 4.398 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/11.6, allocations: 3.984 kB / 4.398 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/11.61, allocations: 1.775 MB / 4.4 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/11.61, allocations: 4 kB / 4.4 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/11.61, allocations: 40.05 kB / 4.4 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005059/11.61, allocations: 284.5 kB / 4.4 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/11.61, allocations: 8 kB / 4.4 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/11.61, allocations: 1.199 MB / 4.401 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/11.61, allocations: 0 / 4.401 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001197/11.61, allocations: 1.036 MB / 4.402 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00133/11.61, allocations: 1.477 MB / 4.404 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/11.61, allocations: 235.7 kB / 4.404 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/11.61, allocations: 0 / 4.404 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/11.61, allocations: 83.75 kB / 4.404 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/11.61, allocations: 31.95 kB / 4.404 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/11.61, allocations: 8 kB / 4.404 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007734/11.61, allocations: 0.7178 MB / 4.405 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003134/11.61, allocations: 0.7881 MB / 4.405 GB, free: 43.38 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 (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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/11.62, allocations: 1.219 MB / 4.407 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001535/11.62, allocations: 1.09 MB / 4.408 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/11.62, allocations: 0 / 4.408 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/11.62, allocations: 258.8 kB / 4.408 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/11.62, allocations: 0.5712 MB / 4.409 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/11.62, allocations: 1.48 MB / 4.41 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/11.62, allocations: 1.296 MB / 4.411 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/11.62, allocations: 0 / 4.411 GB, free: 37.49 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)