Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.475/1.475, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001382/0.001382, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.499/1.499, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009602/0.0009601, allocations: 98.14 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/1.023e-05, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6428, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.17/4.813, allocations: 2.117 GB / 3.081 GB, free: 341.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/4.814, allocations: 89.88 kB / 3.081 GB, free: 341.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 10.57/15.38, allocations: 3.124 GB / 6.205 GB, free: 84.58 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0004798/15.38, allocations: 131.8 kB / 6.205 GB, free: 84.56 MB / 1.057 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.01434/15.4, allocations: 4.684 MB / 6.209 GB, free: 82.83 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/15.4, allocations: 9.969 kB / 6.209 GB, free: 82.83 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/15.41, allocations: 1.583 MB / 6.211 GB, free: 82.55 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/15.42, allocations: 4.578 MB / 6.215 GB, free: 81.75 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/15.42, allocations: 92.92 kB / 6.215 GB, free: 81.75 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009316/15.42, allocations: 186.4 kB / 6.216 GB, free: 81.75 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005193/15.43, allocations: 2.556 MB / 6.218 GB, free: 81.74 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/15.43, allocations: 2.903 MB / 6.221 GB, free: 81.38 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.998e-05/15.43, allocations: 13.19 kB / 6.221 GB, free: 81.37 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/15.43, allocations: 5.312 kB / 6.221 GB, free: 81.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/15.43, allocations: 102.6 kB / 6.221 GB, free: 81.36 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/15.46, allocations: 15.17 MB / 6.236 GB, free: 74.52 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/15.46, allocations: 2.012 MB / 6.238 GB, free: 74.48 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/15.46, allocations: 1.096 MB / 6.239 GB, free: 74.46 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/15.46, allocations: 403 kB / 6.239 GB, free: 74.09 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/15.46, allocations: 61.47 kB / 6.239 GB, free: 74.05 MB / 1.057 GB Notification: Performance of pre-optimization done (n=193): time 4.929e-06/15.46, allocations: 0 / 6.239 GB, free: 74.05 MB / 1.057 GB Notification: Performance of matching and sorting (n=201): time 0.0156/15.48, allocations: 5.632 MB / 6.245 GB, free: 72.82 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/15.48, allocations: 78.44 kB / 6.245 GB, free: 72.75 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/15.48, allocations: 2.776 MB / 6.248 GB, free: 72.47 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0004202/15.48, allocations: 33.05 kB / 6.248 GB, free: 72.44 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/15.48, allocations: 1.182 MB / 6.249 GB, free: 71.83 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007498/15.49, allocations: 0.6554 MB / 6.25 GB, free: 71.38 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/15.49, allocations: 0 / 6.25 GB, free: 71.38 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001124/15.49, allocations: 395.1 kB / 6.25 GB, free: 71.08 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/15.49, allocations: 0.8208 MB / 6.251 GB, free: 71.07 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/15.49, allocations: 1.761 MB / 6.252 GB, free: 69.96 MB / 1.057 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.02639/15.51, allocations: 7.731 MB / 6.26 GB, free: 69.49 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/15.52, allocations: 7.094 kB / 6.26 GB, free: 69.49 MB / 1.057 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006485/15.52, allocations: 3.002 MB / 6.263 GB, free: 69.18 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/15.52, allocations: 7.66 MB / 6.27 GB, free: 61.33 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/15.52, allocations: 19.84 kB / 6.27 GB, free: 61.33 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/15.52, allocations: 268.4 kB / 6.271 GB, free: 61.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/15.53, allocations: 0.5282 MB / 6.271 GB, free: 61.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/15.53, allocations: 4.613 MB / 6.276 GB, free: 57.34 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/15.54, allocations: 299.5 kB / 6.276 GB, free: 57.3 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/15.54, allocations: 128.5 kB / 6.276 GB, free: 57.3 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/15.54, allocations: 3.5 kB / 6.276 GB, free: 57.3 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005811/15.54, allocations: 2.41 MB / 6.278 GB, free: 57.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/15.54, allocations: 16.94 kB / 6.278 GB, free: 57.21 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/15.54, allocations: 288.8 kB / 6.279 GB, free: 57.18 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/15.55, allocations: 0.5179 MB / 6.279 GB, free: 57.18 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/15.55, allocations: 7.536 MB / 6.287 GB, free: 50.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005682/15.56, allocations: 285.8 kB / 6.287 GB, free: 50.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/15.56, allocations: 130.8 kB / 6.287 GB, free: 50.85 MB / 1.057 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.001006/15.56, allocations: 189.4 kB / 6.287 GB, free: 50.73 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/15.56, allocations: 392.4 kB / 6.288 GB, free: 50.53 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006725/15.57, allocations: 2.656 MB / 6.29 GB, free: 50.33 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/15.57, allocations: 20.34 kB / 6.29 GB, free: 50.33 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/15.57, allocations: 0 / 6.29 GB, free: 50.33 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003649/15.57, allocations: 2.174 MB / 6.292 GB, free: 49.98 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/15.59, allocations: 6.125 MB / 6.298 GB, free: 49.2 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/15.59, allocations: 10.16 kB / 6.298 GB, free: 49.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/15.59, allocations: 443.3 kB / 6.299 GB, free: 49.2 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/15.59, allocations: 235.5 kB / 6.299 GB, free: 49.16 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/15.59, allocations: 35.97 kB / 6.299 GB, free: 49.16 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/15.59, allocations: 4.537 MB / 6.303 GB, free: 45.21 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/15.59, allocations: 15.64 kB / 6.303 GB, free: 45.21 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007638/15.6, allocations: 5.032 MB / 6.308 GB, free: 43.14 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00308/15.6, allocations: 0.715 MB / 6.309 GB, free: 42.85 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/15.61, allocations: 17.06 kB / 6.309 GB, free: 42.85 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00477/15.61, allocations: 245.1 kB / 6.309 GB, free: 42.82 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/15.61, allocations: 145.8 kB / 6.309 GB, free: 42.82 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/15.61, allocations: 98.12 kB / 6.309 GB, free: 42.82 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.004597/15.62, allocations: 2.096 MB / 6.312 GB, free: 42.64 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01152/15.63, allocations: 2.24 MB / 6.314 GB, free: 42.58 MB / 1.057 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.01188/15.64, allocations: 8.339 MB / 6.322 GB, free: 38.52 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009468/15.65, allocations: 4.281 MB / 6.326 GB, free: 37.76 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/15.65, allocations: 3.812 kB / 6.326 GB, free: 37.76 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/15.65, allocations: 1.287 MB / 6.327 GB, free: 37.55 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/15.66, allocations: 1.874 MB / 6.329 GB, free: 37.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/15.67, allocations: 6.162 MB / 6.335 GB, free: 35.84 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003227/15.68, allocations: 2.963 MB / 6.338 GB, free: 35.03 MB / 1.057 GB Notification: Performance of SimCode: time 1.373e-06/15.68, allocations: 0 / 6.338 GB, free: 35.03 MB / 1.057 GB Notification: Performance of Templates: time 0.2066/15.88, allocations: 120.6 MB / 6.456 GB, free: 10.37 MB / 1.073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)