Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.001287/0.001287, allocations: 180.2 kB / 7.802 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4756/0.4756, allocations: 90.85 MB / 99.07 MB, free: 8.895 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.3 MB / 342.7 MB, free: 4.66 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 97.03 kB / 415.5 MB, free: 14.25 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.159/0.16, allocations: 78.46 MB / 494 MB, free: 7.484 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.5976, allocations: 72.31 MB / 0.553 GB, free: 61.56 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.027/4.625, allocations: 1.822 GB / 2.375 GB, free: 211.7 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/4.625, allocations: 85.36 kB / 2.375 GB, free: 211.7 MB / 0.5964 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 3.703/8.329, allocations: 1.082 GB / 3.457 GB, free: 62.51 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/8.329, allocations: 12 kB / 3.457 GB, free: 62.5 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/8.33, allocations: 210.2 kB / 3.457 GB, free: 62.29 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/8.334, allocations: 1.43 MB / 3.458 GB, free: 60.81 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/8.334, allocations: 20 kB / 3.458 GB, free: 60.79 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/8.334, allocations: 43.94 kB / 3.458 GB, free: 60.75 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/8.335, allocations: 0.7209 MB / 3.459 GB, free: 60.02 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/8.336, allocations: 0.8604 MB / 3.46 GB, free: 59.09 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/8.336, allocations: 4 kB / 3.46 GB, free: 59.08 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/8.336, allocations: 7.844 kB / 3.46 GB, free: 59.07 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/8.336, allocations: 16 kB / 3.46 GB, free: 59.06 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/8.34, allocations: 4.71 MB / 3.464 GB, free: 54.03 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/8.341, allocations: 0.5189 MB / 3.465 GB, free: 53.5 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/8.341, allocations: 456.8 kB / 3.465 GB, free: 53.06 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/8.341, allocations: 198.5 kB / 3.466 GB, free: 52.83 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/8.342, allocations: 309.1 kB / 3.466 GB, free: 52.51 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/8.342, allocations: 4 kB / 3.466 GB, free: 52.5 MB / 0.5964 GB Notification: Performance of matching and sorting (n=35): time 0.002015/8.344, allocations: 0.9505 MB / 3.467 GB, free: 51.54 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/8.344, allocations: 81.11 kB / 3.467 GB, free: 51.45 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/8.345, allocations: 0.9178 MB / 3.468 GB, free: 50.51 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/8.345, allocations: 29.7 kB / 3.468 GB, free: 50.48 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/8.345, allocations: 352.4 kB / 3.468 GB, free: 50.12 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/8.345, allocations: 126.2 kB / 3.468 GB, free: 50 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/8.345, allocations: 0 / 3.468 GB, free: 50 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/8.345, allocations: 326 kB / 3.469 GB, free: 49.68 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/8.345, allocations: 224.9 kB / 3.469 GB, free: 49.45 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/8.346, allocations: 0.5514 MB / 3.469 GB, free: 48.76 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/8.346, allocations: 329.6 kB / 3.47 GB, free: 48.44 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/8.346, allocations: 4 kB / 3.47 GB, free: 48.43 MB / 0.5964 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00172/8.348, allocations: 1.075 MB / 3.471 GB, free: 47.35 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003987/8.348, allocations: 2.092 MB / 3.473 GB, free: 45.09 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/8.348, allocations: 8 kB / 3.473 GB, free: 45.09 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/8.349, allocations: 367.1 kB / 3.473 GB, free: 44.73 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/8.349, allocations: 71.73 kB / 3.473 GB, free: 44.66 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/8.351, allocations: 1.427 MB / 3.475 GB, free: 43.21 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/8.352, allocations: 115.4 kB / 3.475 GB, free: 43.09 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/8.352, allocations: 27.98 kB / 3.475 GB, free: 43.07 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/8.352, allocations: 8 kB / 3.475 GB, free: 43.06 MB / 0.5964 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/8.354, allocations: 0.766 MB / 3.475 GB, free: 42.29 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/8.354, allocations: 7.984 kB / 3.476 GB, free: 42.28 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/8.354, allocations: 308 kB / 3.476 GB, free: 41.98 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/8.354, allocations: 67.91 kB / 3.476 GB, free: 41.91 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/8.358, allocations: 3.465 MB / 3.479 GB, free: 38.34 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/8.36, allocations: 103.6 kB / 3.479 GB, free: 38.24 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/8.36, allocations: 28 kB / 3.479 GB, free: 38.21 MB / 0.5964 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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/8.36, allocations: 128.9 kB / 3.479 GB, free: 38.08 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/8.36, allocations: 102.8 kB / 3.48 GB, free: 37.98 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/8.361, allocations: 0.8473 MB / 3.48 GB, free: 37.12 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/8.362, allocations: 4 kB / 3.48 GB, free: 37.11 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/8.362, allocations: 4 kB / 3.48 GB, free: 37.11 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/8.362, allocations: 3.984 kB / 3.48 GB, free: 37.11 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/8.364, allocations: 1.781 MB / 3.482 GB, free: 35.26 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/8.364, allocations: 0 / 3.482 GB, free: 35.26 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/8.364, allocations: 27.98 kB / 3.482 GB, free: 35.23 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005351/8.365, allocations: 324.8 kB / 3.483 GB, free: 34.91 MB / 0.5964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/8.365, allocations: 8 kB / 3.483 GB, free: 34.91 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/8.366, allocations: 1.262 MB / 3.484 GB, free: 33.62 MB / 0.5964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/8.366, allocations: 4 kB / 3.484 GB, free: 33.61 MB / 0.5964 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001083/8.367, allocations: 1.042 MB / 3.485 GB, free: 32.5 MB / 0.5964 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001313/8.368, allocations: 1.472 MB / 3.486 GB, free: 30.94 MB / 0.5964 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/8.369, allocations: 227.7 kB / 3.486 GB, free: 30.7 MB / 0.5964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/8.369, allocations: 8 kB / 3.486 GB, free: 30.69 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/8.369, allocations: 79.75 kB / 3.487 GB, free: 30.61 MB / 0.5964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/8.37, allocations: 31.95 kB / 3.487 GB, free: 30.58 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/8.37, allocations: 12 kB / 3.487 GB, free: 30.57 MB / 0.5964 GB Notification: Performance of sort global known variables: time 0.0007869/8.37, allocations: 0.7139 MB / 3.487 GB, free: 29.85 MB / 0.5964 GB Notification: Performance of remove unused functions: time 0.003326/8.374, allocations: 0.7883 MB / 3.488 GB, free: 29.06 MB / 0.5964 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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001651/8.375, allocations: 1.221 MB / 3.489 GB, free: 27.82 MB / 0.5964 GB Notification: Performance of simCode: created initialization part: time 0.002309/8.378, allocations: 1.191 MB / 3.49 GB, free: 26.61 MB / 0.5964 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/8.378, allocations: 3.938 kB / 3.49 GB, free: 26.61 MB / 0.5964 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/8.378, allocations: 320.2 kB / 3.491 GB, free: 26.3 MB / 0.5964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/8.381, allocations: 0.5707 MB / 3.491 GB, free: 25.74 MB / 0.5964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/8.384, allocations: 1.476 MB / 3.493 GB, free: 24.21 MB / 0.5964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/8.384, allocations: 1.3 MB / 3.494 GB, free: 22.88 MB / 0.5964 GB Notification: Performance of SimCode: time 1.012e-06/8.384, allocations: 0 / 3.494 GB, free: 22.88 MB / 0.5964 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)