Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001091/0.001091, allocations: 193 kB / 7.806 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.4512/0.4512, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.355/1.355, allocations: 221.4 MB / 342.8 MB, free: 5.23 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.001156/0.001156, allocations: 95.67 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.1943, allocations: 78.46 MB / 494 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.639, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.933/4.572, allocations: 1.824 GB / 2.377 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/4.572, allocations: 91.95 kB / 2.378 GB, free: 1.039 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 3.915/8.487, allocations: 1.091 GB / 3.468 GB, free: 83.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/8.487, allocations: 8 kB / 3.468 GB, free: 83.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/8.489, allocations: 206.3 kB / 3.469 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/8.493, allocations: 1.449 MB / 3.47 GB, free: 82.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/8.493, allocations: 19.91 kB / 3.47 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/8.493, allocations: 44 kB / 3.47 GB, free: 81.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001121/8.494, allocations: 0.7287 MB / 3.471 GB, free: 81.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/8.496, allocations: 0.8594 MB / 3.472 GB, free: 80.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/8.496, allocations: 7.984 kB / 3.472 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/8.496, allocations: 4 kB / 3.472 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/8.496, allocations: 19.94 kB / 3.472 GB, free: 80.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/8.5, allocations: 4.684 MB / 3.476 GB, free: 75.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/8.501, allocations: 0.5154 MB / 3.477 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/8.501, allocations: 430.2 kB / 3.477 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/8.501, allocations: 198.5 kB / 3.477 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/8.502, allocations: 301.1 kB / 3.478 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/8.502, allocations: 0 / 3.478 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002051/8.504, allocations: 0.8946 MB / 3.479 GB, free: 72.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/8.504, allocations: 89.11 kB / 3.479 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/8.505, allocations: 0.9142 MB / 3.48 GB, free: 71.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/8.505, allocations: 29.7 kB / 3.48 GB, free: 71.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/8.505, allocations: 356.4 kB / 3.48 GB, free: 71.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/8.506, allocations: 114.3 kB / 3.48 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/8.506, allocations: 3.938 kB / 3.48 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/8.506, allocations: 333.9 kB / 3.48 GB, free: 71.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/8.506, allocations: 212.9 kB / 3.481 GB, free: 70.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/8.506, allocations: 0.5498 MB / 3.481 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/8.507, allocations: 309.7 kB / 3.481 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/8.507, allocations: 4 kB / 3.481 GB, free: 69.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001825/8.509, allocations: 1.008 MB / 3.482 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/8.509, allocations: 2.105 MB / 3.484 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/8.509, allocations: 7.984 kB / 3.484 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/8.51, allocations: 303.4 kB / 3.485 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/8.51, allocations: 75.83 kB / 3.485 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/8.512, allocations: 1.309 MB / 3.486 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/8.513, allocations: 111.5 kB / 3.486 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/8.513, allocations: 24 kB / 3.486 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/8.513, allocations: 4 kB / 3.486 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/8.514, allocations: 0.6914 MB / 3.487 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/8.514, allocations: 7.938 kB / 3.487 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/8.515, allocations: 237.3 kB / 3.487 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/8.515, allocations: 75.89 kB / 3.487 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/8.518, allocations: 2.93 MB / 3.49 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/8.519, allocations: 103.6 kB / 3.49 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/8.519, allocations: 28 kB / 3.49 GB, free: 60.49 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001633/8.52, allocations: 130.2 kB / 3.49 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/8.52, allocations: 106.7 kB / 3.49 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/8.521, allocations: 0.773 MB / 3.491 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/8.521, allocations: 8.078 kB / 3.491 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/8.521, allocations: 0 / 3.491 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/8.521, allocations: 0 / 3.491 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/8.523, allocations: 1.708 MB / 3.493 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/8.523, allocations: 3.938 kB / 3.493 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/8.524, allocations: 31.97 kB / 3.493 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/8.524, allocations: 263.2 kB / 3.493 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/8.524, allocations: 4 kB / 3.493 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009903/8.525, allocations: 1.151 MB / 3.494 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/8.525, allocations: 4 kB / 3.494 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001044/8.526, allocations: 0.9795 MB / 3.495 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001336/8.528, allocations: 1.394 MB / 3.497 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/8.528, allocations: 231.7 kB / 3.497 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/8.528, allocations: 4 kB / 3.497 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/8.529, allocations: 79.75 kB / 3.497 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/8.529, allocations: 31.95 kB / 3.497 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/8.529, allocations: 12 kB / 3.497 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007916/8.53, allocations: 0.718 MB / 3.498 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00352/8.533, allocations: 0.7922 MB / 3.498 GB, free: 51.79 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002039/8.535, allocations: 1.282 MB / 3.5 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002229/8.538, allocations: 1.156 MB / 3.501 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/8.538, allocations: 3.938 kB / 3.501 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/8.538, allocations: 295.9 kB / 3.501 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/8.541, allocations: 0.5711 MB / 3.502 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/8.544, allocations: 1.484 MB / 3.503 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/8.545, allocations: 1.296 MB / 3.504 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/8.545, allocations: 0 / 3.504 GB, free: 45.59 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)