Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004272/0.004272, allocations: 180.1 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 391.4 MB, free: 13.01 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.001075/0.001075, allocations: 109.2 kB / 473.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.784e-06, allocations: 0.7188 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 81.59 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.737/4.928, allocations: 1.912 GB / 2.54 GB, free: 231.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/4.928, allocations: 86.52 kB / 2.54 GB, free: 231.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 11.69/16.62, allocations: 3.166 GB / 5.706 GB, free: 47.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001458/16.62, allocations: 124.8 kB / 5.706 GB, free: 47.55 MB / 0.7917 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.02192/16.64, allocations: 4.712 MB / 5.711 GB, free: 45.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/16.64, allocations: 10.31 kB / 5.711 GB, free: 45.2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/16.66, allocations: 1.589 MB / 5.713 GB, free: 44.92 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/16.68, allocations: 4.635 MB / 5.717 GB, free: 44.04 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/16.68, allocations: 93.41 kB / 5.717 GB, free: 44.04 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/16.68, allocations: 191.5 kB / 5.717 GB, free: 44.04 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008812/16.69, allocations: 2.547 MB / 5.72 GB, free: 44.02 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/16.7, allocations: 2.916 MB / 5.723 GB, free: 43.65 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/16.7, allocations: 10.03 kB / 5.723 GB, free: 43.64 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009107/16.7, allocations: 4.5 kB / 5.723 GB, free: 43.64 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/16.7, allocations: 104.2 kB / 5.723 GB, free: 43.64 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03708/16.74, allocations: 15.2 MB / 5.738 GB, free: 36.61 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/16.74, allocations: 2.011 MB / 5.74 GB, free: 36.56 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/16.74, allocations: 1.098 MB / 5.741 GB, free: 36.47 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/16.74, allocations: 398.6 kB / 5.741 GB, free: 36.09 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/16.74, allocations: 62.36 kB / 5.741 GB, free: 36.03 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=193): time 5.209e-06/16.74, allocations: 0 / 5.741 GB, free: 36.03 MB / 0.7917 GB Notification: Performance of matching and sorting (n=201): time 0.0237/16.77, allocations: 5.628 MB / 5.747 GB, free: 33.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/16.77, allocations: 77.28 kB / 5.747 GB, free: 33.52 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009179/16.78, allocations: 2.804 MB / 5.749 GB, free: 32.42 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000898/16.78, allocations: 35.11 kB / 5.749 GB, free: 32.38 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002049/16.78, allocations: 1.189 MB / 5.751 GB, free: 31.58 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/16.78, allocations: 0.6539 MB / 5.751 GB, free: 31.06 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/16.78, allocations: 0 / 5.751 GB, free: 31.06 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002729/16.78, allocations: 404.8 kB / 5.752 GB, free: 30.71 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/16.78, allocations: 0.8123 MB / 5.752 GB, free: 30.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/16.79, allocations: 1.76 MB / 5.754 GB, free: 28.89 MB / 0.7917 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.03138/16.82, allocations: 7.75 MB / 5.762 GB, free: 23.35 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/16.82, allocations: 7.938 kB / 5.762 GB, free: 23.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.008388/16.83, allocations: 2.999 MB / 5.765 GB, free: 20.69 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001753/16.83, allocations: 7.683 MB / 5.772 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/16.83, allocations: 16 kB / 5.772 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008488/16.83, allocations: 262.5 kB / 5.772 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/16.83, allocations: 0.5287 MB / 5.773 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/16.84, allocations: 4.592 MB / 5.777 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/16.84, allocations: 310.6 kB / 5.778 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/16.84, allocations: 126.7 kB / 5.778 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/16.84, allocations: 4 kB / 5.778 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006076/16.85, allocations: 2.41 MB / 5.78 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-05/16.85, allocations: 16 kB / 5.78 GB, free: 4.727 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/16.85, allocations: 291.8 kB / 5.781 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/16.85, allocations: 0.5166 MB / 5.781 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/16.86, allocations: 7.539 MB / 5.788 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007422/16.87, allocations: 291.6 kB / 5.789 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/16.87, allocations: 122.3 kB / 5.789 GB, free: 11.92 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.001576/16.87, allocations: 182.2 kB / 5.789 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/16.87, allocations: 395 kB / 5.789 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008047/16.88, allocations: 2.668 MB / 5.792 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/16.88, allocations: 24 kB / 5.792 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/16.88, allocations: 0 / 5.792 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/16.89, allocations: 2.178 MB / 5.794 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/16.91, allocations: 6.114 MB / 5.8 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/16.91, allocations: 12.62 kB / 5.8 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/16.91, allocations: 454.9 kB / 5.801 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007144/16.91, allocations: 230.9 kB / 5.801 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/16.91, allocations: 36.91 kB / 5.801 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6225/17.53, allocations: 4.531 MB / 5.805 GB, free: 107.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/17.53, allocations: 11.28 kB / 5.805 GB, free: 107.1 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007613/17.54, allocations: 5.046 MB / 5.81 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/17.54, allocations: 0.7185 MB / 5.811 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/17.54, allocations: 21.91 kB / 5.811 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005489/17.55, allocations: 244.6 kB / 5.811 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/17.55, allocations: 147.5 kB / 5.811 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/17.55, allocations: 98.2 kB / 5.811 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.004909/17.56, allocations: 2.119 MB / 5.813 GB, free: 104.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01399/17.57, allocations: 2.245 MB / 5.816 GB, free: 104.9 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.01277/17.58, allocations: 8.338 MB / 5.824 GB, free: 101 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008719/17.59, allocations: 4.288 MB / 5.828 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/17.59, allocations: 3.844 kB / 5.828 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/17.59, allocations: 1.281 MB / 5.829 GB, free: 100 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/17.61, allocations: 1.876 MB / 5.831 GB, free: 100 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/17.62, allocations: 6.183 MB / 5.837 GB, free: 98.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004261/17.63, allocations: 2.979 MB / 5.84 GB, free: 97.55 MB / 0.8073 GB Notification: Performance of SimCode: time 1.402e-06/17.63, allocations: 0 / 5.84 GB, free: 97.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.2316/17.86, allocations: 120.7 MB / 5.958 GB, free: 91.27 MB / 0.8073 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)