Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem") [: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.001718/0.001718, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5916/0.5916, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 221.4 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 101.8 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.851e-06, allocations: 2.5 kB / 0.5528 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.548/2.651, allocations: 1.912 GB / 2.546 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/2.651, allocations: 83.95 kB / 2.546 GB, free: 48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.091/11.74, allocations: 3.166 GB / 5.712 GB, free: 62.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0006289/11.74, allocations: 125.4 kB / 5.712 GB, free: 62.56 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.01227/11.76, allocations: 4.708 MB / 5.717 GB, free: 60.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/11.76, allocations: 11.16 kB / 5.717 GB, free: 60.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/11.77, allocations: 1.592 MB / 5.718 GB, free: 60.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/11.78, allocations: 4.632 MB / 5.723 GB, free: 59.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/11.78, allocations: 98.11 kB / 5.723 GB, free: 59.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008552/11.78, allocations: 190.7 kB / 5.723 GB, free: 59.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004976/11.78, allocations: 2.55 MB / 5.726 GB, free: 59.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/11.79, allocations: 2.916 MB / 5.729 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.442e-05/11.79, allocations: 3 kB / 5.729 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/11.79, allocations: 5.938 kB / 5.729 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/11.79, allocations: 107.1 kB / 5.729 GB, free: 59.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/11.81, allocations: 15.17 MB / 5.744 GB, free: 52.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/11.81, allocations: 2.011 MB / 5.746 GB, free: 52.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/11.81, allocations: 1.093 MB / 5.747 GB, free: 52.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/11.81, allocations: 395.5 kB / 5.747 GB, free: 52.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/11.81, allocations: 65.45 kB / 5.747 GB, free: 51.99 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=193): time 3.587e-06/11.81, allocations: 2.844 kB / 5.747 GB, free: 51.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=201): time 0.01251/11.82, allocations: 5.634 MB / 5.753 GB, free: 50.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/11.82, allocations: 73.69 kB / 5.753 GB, free: 50.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/11.83, allocations: 2.806 MB / 5.755 GB, free: 50.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.00031/11.83, allocations: 31.36 kB / 5.755 GB, free: 50.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/11.83, allocations: 1.186 MB / 5.757 GB, free: 49.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/11.83, allocations: 0.66 MB / 5.757 GB, free: 49.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/11.83, allocations: 0 / 5.757 GB, free: 49.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001085/11.83, allocations: 396.7 kB / 5.758 GB, free: 49.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/11.83, allocations: 0.8235 MB / 5.758 GB, free: 49.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/11.83, allocations: 1.751 MB / 5.76 GB, free: 47.9 MB / 0.8073 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/11.86, allocations: 7.745 MB / 5.768 GB, free: 47.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/11.86, allocations: 3.406 kB / 5.768 GB, free: 47.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005757/11.86, allocations: 3 MB / 5.771 GB, free: 47.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00112/11.86, allocations: 7.678 MB / 5.778 GB, free: 39.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/11.86, allocations: 18.59 kB / 5.778 GB, free: 39.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/11.87, allocations: 268.2 kB / 5.778 GB, free: 39.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/11.87, allocations: 0.5292 MB / 5.779 GB, free: 39.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/11.87, allocations: 4.604 MB / 5.783 GB, free: 35.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/11.87, allocations: 297.7 kB / 5.784 GB, free: 35.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/11.88, allocations: 132 kB / 5.784 GB, free: 35.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/11.88, allocations: 6.5 kB / 5.784 GB, free: 35.25 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004129/11.88, allocations: 2.405 MB / 5.786 GB, free: 35.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/11.88, allocations: 17.03 kB / 5.786 GB, free: 35.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/11.88, allocations: 299.7 kB / 5.786 GB, free: 35.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/11.88, allocations: 0.5117 MB / 5.787 GB, free: 35.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/11.89, allocations: 7.537 MB / 5.794 GB, free: 28.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/11.89, allocations: 298.7 kB / 5.795 GB, free: 28.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/11.89, allocations: 124.6 kB / 5.795 GB, free: 28.78 MB / 0.8073 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005181/11.89, allocations: 178.1 kB / 5.795 GB, free: 28.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/11.89, allocations: 399.8 kB / 5.795 GB, free: 28.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/11.9, allocations: 2.664 MB / 5.798 GB, free: 28.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/11.9, allocations: 20.78 kB / 5.798 GB, free: 28.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/11.9, allocations: 0 / 5.798 GB, free: 28.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003014/11.9, allocations: 2.17 MB / 5.8 GB, free: 27.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/11.91, allocations: 6.125 MB / 5.806 GB, free: 27.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/11.91, allocations: 9.062 kB / 5.806 GB, free: 27.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/11.91, allocations: 448.5 kB / 5.806 GB, free: 27.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/11.91, allocations: 238.9 kB / 5.807 GB, free: 27.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/11.91, allocations: 35.3 kB / 5.807 GB, free: 27.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/11.92, allocations: 4.532 MB / 5.811 GB, free: 23.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/11.92, allocations: 15.16 kB / 5.811 GB, free: 23.18 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005413/11.92, allocations: 5.037 MB / 5.816 GB, free: 20.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/11.92, allocations: 0.722 MB / 5.817 GB, free: 20.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/11.92, allocations: 21.83 kB / 5.817 GB, free: 20.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/11.93, allocations: 253.2 kB / 5.817 GB, free: 20.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/11.93, allocations: 141.1 kB / 5.817 GB, free: 20.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/11.93, allocations: 95.42 kB / 5.817 GB, free: 20.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002625/11.93, allocations: 2.124 MB / 5.819 GB, free: 20.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00578/11.93, allocations: 2.242 MB / 5.821 GB, free: 20.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008238/11.94, allocations: 8.344 MB / 5.83 GB, free: 16.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005878/11.95, allocations: 4.274 MB / 5.834 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/11.95, allocations: 2.281 kB / 5.834 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/11.95, allocations: 1.29 MB / 5.835 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007888/11.96, allocations: 1.882 MB / 5.837 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009727/11.97, allocations: 6.199 MB / 5.843 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/11.97, allocations: 2.972 MB / 5.846 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/11.97, allocations: 0 / 5.846 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of Templates: time 0.1661/12.14, allocations: 120.8 MB / 5.964 GB, free: 7.102 MB / 0.8386 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)