Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009756/0.0009753, allocations: 98.25 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.173e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.7096, allocations: 116.3 MB / 0.9726 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.698/5.408, allocations: 2.118 GB / 3.091 GB, free: 339.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.408, allocations: 95.55 kB / 3.091 GB, free: 339.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.1/16.5, allocations: 3.124 GB / 6.215 GB, free: 92.96 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0008135/16.5, allocations: 123.8 kB / 6.215 GB, free: 92.95 MB / 1.073 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.0191/16.52, allocations: 4.682 MB / 6.219 GB, free: 91.02 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/16.52, allocations: 7 kB / 6.219 GB, free: 91.02 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/16.54, allocations: 1.596 MB / 6.221 GB, free: 90.75 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/16.55, allocations: 4.57 MB / 6.225 GB, free: 89.95 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/16.55, allocations: 90.53 kB / 6.225 GB, free: 89.95 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/16.55, allocations: 186.4 kB / 6.225 GB, free: 89.95 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005343/16.56, allocations: 2.548 MB / 6.228 GB, free: 89.94 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/16.56, allocations: 2.92 MB / 6.231 GB, free: 89.57 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.176e-05/16.56, allocations: 8.219 kB / 6.231 GB, free: 89.57 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/16.56, allocations: 3.094 kB / 6.231 GB, free: 89.57 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.13e-05/16.56, allocations: 100.1 kB / 6.231 GB, free: 89.56 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/16.59, allocations: 15.17 MB / 6.246 GB, free: 82.7 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/16.59, allocations: 2.016 MB / 6.248 GB, free: 82.66 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/16.6, allocations: 1.095 MB / 6.249 GB, free: 82.64 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/16.6, allocations: 398 kB / 6.249 GB, free: 82.27 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/16.6, allocations: 60.34 kB / 6.249 GB, free: 82.22 MB / 1.073 GB Notification: Performance of pre-optimization done (n=193): time 3.807e-06/16.6, allocations: 0 / 6.249 GB, free: 82.22 MB / 1.073 GB Notification: Performance of matching and sorting (n=201): time 0.01676/16.61, allocations: 5.624 MB / 6.255 GB, free: 80.99 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/16.61, allocations: 78.47 kB / 6.255 GB, free: 80.92 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/16.62, allocations: 2.772 MB / 6.258 GB, free: 80.64 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005355/16.62, allocations: 29.42 kB / 6.258 GB, free: 80.61 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/16.62, allocations: 1.189 MB / 6.259 GB, free: 80.01 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008872/16.62, allocations: 0.6639 MB / 6.259 GB, free: 79.56 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/16.62, allocations: 0 / 6.259 GB, free: 79.56 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001329/16.62, allocations: 395.1 kB / 6.26 GB, free: 79.25 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/16.62, allocations: 0.8193 MB / 6.261 GB, free: 79.25 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/16.62, allocations: 1.759 MB / 6.262 GB, free: 78.14 MB / 1.073 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.02684/16.65, allocations: 7.733 MB / 6.27 GB, free: 77.66 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/16.65, allocations: 4.75 kB / 6.27 GB, free: 77.66 MB / 1.073 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007746/16.66, allocations: 3.008 MB / 6.273 GB, free: 77.34 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001854/16.66, allocations: 7.667 MB / 6.28 GB, free: 69.49 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/16.66, allocations: 18.44 kB / 6.28 GB, free: 69.49 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008185/16.66, allocations: 264.6 kB / 6.28 GB, free: 69.45 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/16.66, allocations: 0.5251 MB / 6.281 GB, free: 69.45 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/16.67, allocations: 4.601 MB / 6.285 GB, free: 65.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/16.67, allocations: 295.9 kB / 6.286 GB, free: 65.47 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/16.67, allocations: 132.5 kB / 6.286 GB, free: 65.47 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/16.67, allocations: 2.344 kB / 6.286 GB, free: 65.47 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00514/16.68, allocations: 2.416 MB / 6.288 GB, free: 65.38 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/16.68, allocations: 14.22 kB / 6.288 GB, free: 65.38 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/16.68, allocations: 296.1 kB / 6.289 GB, free: 65.34 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/16.68, allocations: 0.5168 MB / 6.289 GB, free: 65.34 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006856/16.69, allocations: 7.536 MB / 6.296 GB, free: 59.03 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00609/16.69, allocations: 294.8 kB / 6.297 GB, free: 59 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/16.7, allocations: 115.8 kB / 6.297 GB, free: 59 MB / 1.073 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.0009079/16.7, allocations: 193.6 kB / 6.297 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/16.7, allocations: 389.6 kB / 6.297 GB, free: 58.68 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/16.7, allocations: 2.661 MB / 6.3 GB, free: 58.48 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/16.7, allocations: 19.19 kB / 6.3 GB, free: 58.48 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/16.7, allocations: 2.719 kB / 6.3 GB, free: 58.48 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003324/16.71, allocations: 2.175 MB / 6.302 GB, free: 58.13 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/16.72, allocations: 6.112 MB / 6.308 GB, free: 57.35 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/16.72, allocations: 9.25 kB / 6.308 GB, free: 57.35 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/16.72, allocations: 449.9 kB / 6.309 GB, free: 57.35 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/16.72, allocations: 241 kB / 6.309 GB, free: 57.31 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/16.72, allocations: 45.22 kB / 6.309 GB, free: 57.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/16.73, allocations: 4.55 MB / 6.313 GB, free: 53.34 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/16.73, allocations: 11.34 kB / 6.313 GB, free: 53.33 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007439/16.73, allocations: 5.017 MB / 6.318 GB, free: 51.27 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/16.74, allocations: 0.7134 MB / 6.319 GB, free: 50.98 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009087/16.74, allocations: 21.33 kB / 6.319 GB, free: 50.98 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/16.74, allocations: 248.6 kB / 6.319 GB, free: 50.95 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/16.74, allocations: 140.4 kB / 6.319 GB, free: 50.94 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/16.74, allocations: 100.4 kB / 6.319 GB, free: 50.94 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.003513/16.75, allocations: 2.095 MB / 6.321 GB, free: 50.76 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01075/16.76, allocations: 2.23 MB / 6.324 GB, free: 50.71 MB / 1.073 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.01325/16.77, allocations: 8.339 MB / 6.332 GB, free: 46.63 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008134/16.78, allocations: 4.284 MB / 6.336 GB, free: 45.75 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.233e-05/16.78, allocations: 7.641 kB / 6.336 GB, free: 45.75 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/16.78, allocations: 1.284 MB / 6.337 GB, free: 45.49 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/16.79, allocations: 1.884 MB / 6.339 GB, free: 45.41 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/16.81, allocations: 6.159 MB / 6.345 GB, free: 43.73 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003474/16.81, allocations: 2.959 MB / 6.348 GB, free: 42.93 MB / 1.073 GB Notification: Performance of SimCode: time 1.373e-06/16.81, allocations: 1.422 kB / 6.348 GB, free: 42.93 MB / 1.073 GB Notification: Performance of Templates: time 0.2068/17.02, allocations: 120.6 MB / 6.466 GB, free: 1.32 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)