Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7489/0.7489, allocations: 141.8 MB / 149.1 MB, free: 3.051 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 183.1 kB / 181.9 MB, free: 14.89 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 436 MB, free: 8.098 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 96.69 kB / 0.507 GB, free: 24.42 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.00198, allocations: 267.7 kB / 0.5885 GB, free: 11.12 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/7.975e-06, allocations: 0 / 0.6759 GB, free: 1.465 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5134, allocations: 82.75 MB / 0.7567 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.575/5.089, allocations: 1.829 GB / 2.586 GB, free: 169.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.089, allocations: 98.84 kB / 2.586 GB, free: 169.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.078/9.167, allocations: 1.08 GB / 3.666 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002088/9.168, allocations: 30.97 kB / 3.666 GB, free: 161.1 MB / 0.6982 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 0.005378/9.173, allocations: 1.351 MB / 3.667 GB, free: 159.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/9.173, allocations: 8.031 kB / 3.667 GB, free: 159.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/9.175, allocations: 214 kB / 3.668 GB, free: 159.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/9.18, allocations: 1.422 MB / 3.669 GB, free: 158.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/9.18, allocations: 19.91 kB / 3.669 GB, free: 158.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/9.18, allocations: 40 kB / 3.669 GB, free: 158 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/9.182, allocations: 0.7287 MB / 3.67 GB, free: 157.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/9.183, allocations: 0.8604 MB / 3.671 GB, free: 156.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/9.183, allocations: 0 / 3.671 GB, free: 156.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/9.183, allocations: 7.984 kB / 3.671 GB, free: 156.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/9.183, allocations: 12 kB / 3.671 GB, free: 156.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/9.189, allocations: 4.721 MB / 3.675 GB, free: 151.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/9.19, allocations: 0.5157 MB / 3.676 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/9.19, allocations: 453.9 kB / 3.676 GB, free: 150.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/9.191, allocations: 196.3 kB / 3.676 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/9.191, allocations: 310 kB / 3.677 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/9.191, allocations: 0 / 3.677 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=35): time 0.002174/9.193, allocations: 0.9641 MB / 3.678 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/9.193, allocations: 81.11 kB / 3.678 GB, free: 148.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/9.194, allocations: 0.9179 MB / 3.679 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/9.194, allocations: 29.7 kB / 3.679 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/9.195, allocations: 356.3 kB / 3.679 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/9.195, allocations: 118.3 kB / 3.679 GB, free: 147.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/9.195, allocations: 0 / 3.679 GB, free: 147.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/9.195, allocations: 333.9 kB / 3.679 GB, free: 147 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/9.195, allocations: 216.9 kB / 3.68 GB, free: 146.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/9.196, allocations: 0.5615 MB / 3.68 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/9.196, allocations: 317.8 kB / 3.68 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/9.196, allocations: 0 / 3.68 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001859/9.198, allocations: 1.085 MB / 3.682 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/9.198, allocations: 2.096 MB / 3.684 GB, free: 142.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/9.198, allocations: 12 kB / 3.684 GB, free: 142.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/9.199, allocations: 360.5 kB / 3.684 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/9.199, allocations: 71.84 kB / 3.684 GB, free: 142 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/9.201, allocations: 1.422 MB / 3.685 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/9.202, allocations: 115.4 kB / 3.685 GB, free: 140.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/9.202, allocations: 31.92 kB / 3.686 GB, free: 140.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/9.202, allocations: 4 kB / 3.686 GB, free: 140.4 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/9.204, allocations: 0.7574 MB / 3.686 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/9.204, allocations: 4 kB / 3.686 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/9.204, allocations: 318 kB / 3.687 GB, free: 139.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/9.205, allocations: 67.91 kB / 3.687 GB, free: 139.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/9.209, allocations: 3.466 MB / 3.69 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/9.21, allocations: 111.5 kB / 3.69 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/9.21, allocations: 24 kB / 3.69 GB, free: 135.6 MB / 0.6982 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.0002128/9.21, allocations: 124.2 kB / 3.69 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/9.21, allocations: 102.7 kB / 3.69 GB, free: 135.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/9.212, allocations: 0.8604 MB / 3.691 GB, free: 134.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/9.212, allocations: 4 kB / 3.691 GB, free: 134.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/9.212, allocations: 0 / 3.691 GB, free: 134.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/9.212, allocations: 3.984 kB / 3.691 GB, free: 134.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/9.215, allocations: 1.807 MB / 3.693 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/9.215, allocations: 4 kB / 3.693 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/9.215, allocations: 20.2 kB / 3.693 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/9.215, allocations: 328.4 kB / 3.693 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/9.215, allocations: 4 kB / 3.693 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/9.216, allocations: 1.265 MB / 3.695 GB, free: 131 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/9.216, allocations: 4 kB / 3.695 GB, free: 131 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/9.218, allocations: 1.044 MB / 3.696 GB, free: 129.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/9.218, allocations: 223.8 kB / 3.696 GB, free: 129.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/9.218, allocations: 8 kB / 3.696 GB, free: 129.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/9.219, allocations: 75.75 kB / 3.696 GB, free: 129.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/9.219, allocations: 39.86 kB / 3.696 GB, free: 129.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/9.219, allocations: 8 kB / 3.696 GB, free: 129.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008987/9.22, allocations: 0.7139 MB / 3.697 GB, free: 128.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002122/9.222, allocations: 0.5617 MB / 3.697 GB, free: 128.2 MB / 0.6982 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.001909/9.224, allocations: 1.221 MB / 3.698 GB, free: 127.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002397/9.227, allocations: 1.191 MB / 3.699 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/9.227, allocations: 0 / 3.699 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/9.227, allocations: 324.2 kB / 3.7 GB, free: 125.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/9.231, allocations: 0.5658 MB / 3.7 GB, free: 125 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/9.234, allocations: 1.48 MB / 3.702 GB, free: 123.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/9.235, allocations: 1.292 MB / 3.703 GB, free: 122.2 MB / 0.6982 GB Notification: Performance of SimCode: time 7.01e-07/9.235, allocations: 4 kB / 3.703 GB, free: 122.2 MB / 0.6982 GB Notification: Performance of Templates: time 0.04365/9.279, allocations: 26.95 MB / 3.729 GB, free: 95.52 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)