Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.287/2.287, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00208/0.002079, allocations: 185.2 kB / 360.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.1 MB / 0.6188 GB, free: 12.37 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 86.48 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.512e-05, allocations: 4 kB / 0.8502 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6204, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.788, allocations: 2.117 GB / 3.08 GB, free: 259.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/5.788, allocations: 94.12 kB / 3.08 GB, free: 259.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 14.94/20.72, allocations: 3.124 GB / 6.204 GB, free: 83.62 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0009334/20.72, allocations: 119.7 kB / 6.204 GB, free: 83.6 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.01937/20.74, allocations: 4.69 MB / 6.208 GB, free: 81.52 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/20.74, allocations: 11.69 kB / 6.208 GB, free: 81.52 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/20.76, allocations: 1.583 MB / 6.21 GB, free: 81.25 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/20.78, allocations: 4.578 MB / 6.214 GB, free: 80.45 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/20.78, allocations: 89.19 kB / 6.214 GB, free: 80.45 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/20.79, allocations: 191.6 kB / 6.215 GB, free: 80.45 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009963/20.8, allocations: 2.557 MB / 6.217 GB, free: 80.43 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/20.81, allocations: 2.912 MB / 6.22 GB, free: 80.07 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/20.81, allocations: 2.906 kB / 6.22 GB, free: 80.07 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000715/20.81, allocations: 6.5 kB / 6.22 GB, free: 80.07 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/20.81, allocations: 101.2 kB / 6.22 GB, free: 80.06 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04015/20.85, allocations: 15.17 MB / 6.235 GB, free: 73.16 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005886/20.85, allocations: 2.018 MB / 6.237 GB, free: 73.11 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/20.86, allocations: 1.089 MB / 6.238 GB, free: 73.09 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/20.86, allocations: 398.5 kB / 6.238 GB, free: 72.71 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/20.86, allocations: 67.36 kB / 6.238 GB, free: 72.67 MB / 1.057 GB Notification: Performance of pre-optimization done (n=193): time 4.278e-06/20.86, allocations: 0 / 6.238 GB, free: 72.67 MB / 1.057 GB Notification: Performance of matching and sorting (n=201): time 0.02854/20.89, allocations: 5.633 MB / 6.244 GB, free: 71.42 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/20.89, allocations: 72.97 kB / 6.244 GB, free: 71.36 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008536/20.9, allocations: 2.776 MB / 6.247 GB, free: 71.07 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008153/20.9, allocations: 32.52 kB / 6.247 GB, free: 71.04 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/20.9, allocations: 1.176 MB / 6.248 GB, free: 70.44 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/20.9, allocations: 0.6647 MB / 6.248 GB, free: 69.99 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/20.9, allocations: 2.656 kB / 6.248 GB, free: 69.99 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002608/20.9, allocations: 391.7 kB / 6.249 GB, free: 69.69 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/20.9, allocations: 0.8221 MB / 6.25 GB, free: 69.68 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/20.91, allocations: 1.755 MB / 6.251 GB, free: 68.55 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.05487/20.96, allocations: 7.733 MB / 6.259 GB, free: 68.05 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/20.96, allocations: 15.19 kB / 6.259 GB, free: 68.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01214/20.97, allocations: 3.003 MB / 6.262 GB, free: 67.64 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.00169/20.98, allocations: 7.661 MB / 6.269 GB, free: 59.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/20.98, allocations: 18.69 kB / 6.269 GB, free: 59.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/20.98, allocations: 270.5 kB / 6.27 GB, free: 59.75 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/20.98, allocations: 0.5273 MB / 6.27 GB, free: 59.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/20.99, allocations: 4.602 MB / 6.275 GB, free: 55.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009054/21, allocations: 293 kB / 6.275 GB, free: 55.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008859/21, allocations: 125.8 kB / 6.275 GB, free: 55.71 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/21, allocations: 6.438 kB / 6.275 GB, free: 55.71 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009043/21.01, allocations: 2.412 MB / 6.277 GB, free: 55.54 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/21.01, allocations: 20.28 kB / 6.277 GB, free: 55.53 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/21.01, allocations: 295.2 kB / 6.278 GB, free: 55.49 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/21.01, allocations: 0.5168 MB / 6.278 GB, free: 55.46 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/21.02, allocations: 7.534 MB / 6.286 GB, free: 49.12 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00875/21.03, allocations: 292.6 kB / 6.286 GB, free: 49.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008512/21.03, allocations: 117.4 kB / 6.286 GB, free: 49.09 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.001136/21.03, allocations: 189 kB / 6.286 GB, free: 48.94 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/21.04, allocations: 390.4 kB / 6.286 GB, free: 48.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/21.05, allocations: 2.657 MB / 6.289 GB, free: 48.54 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/21.05, allocations: 20.88 kB / 6.289 GB, free: 48.54 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/21.05, allocations: 3.312 kB / 6.289 GB, free: 48.54 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007302/21.05, allocations: 2.185 MB / 6.291 GB, free: 48.18 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/21.08, allocations: 6.117 MB / 6.297 GB, free: 47.35 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/21.08, allocations: 12.78 kB / 6.297 GB, free: 47.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004596/21.08, allocations: 444.9 kB / 6.298 GB, free: 47.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/21.08, allocations: 236.2 kB / 6.298 GB, free: 47.28 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/21.08, allocations: 39.11 kB / 6.298 GB, free: 47.28 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/21.09, allocations: 4.531 MB / 6.302 GB, free: 43.32 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-05/21.09, allocations: 15.41 kB / 6.302 GB, free: 43.32 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01212/21.1, allocations: 5.022 MB / 6.307 GB, free: 41.25 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003579/21.1, allocations: 0.715 MB / 6.308 GB, free: 40.95 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/21.1, allocations: 24.03 kB / 6.308 GB, free: 40.95 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007708/21.11, allocations: 247 kB / 6.308 GB, free: 40.92 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/21.11, allocations: 136.6 kB / 6.308 GB, free: 40.91 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000368/21.11, allocations: 97.28 kB / 6.308 GB, free: 40.91 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.006744/21.12, allocations: 2.1 MB / 6.31 GB, free: 40.73 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01501/21.14, allocations: 2.232 MB / 6.313 GB, free: 40.68 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.01667/21.15, allocations: 8.343 MB / 6.321 GB, free: 36.59 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01377/21.17, allocations: 4.283 MB / 6.325 GB, free: 35.71 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/21.17, allocations: 9.734 kB / 6.325 GB, free: 35.71 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/21.17, allocations: 1.283 MB / 6.326 GB, free: 35.45 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01891/21.19, allocations: 1.874 MB / 6.328 GB, free: 35.24 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/21.21, allocations: 6.173 MB / 6.334 GB, free: 32.86 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007659/21.22, allocations: 2.958 MB / 6.337 GB, free: 31.85 MB / 1.057 GB Notification: Performance of SimCode: time 1.843e-06/21.22, allocations: 0.9375 kB / 6.337 GB, free: 31.85 MB / 1.057 GB Notification: Performance of Templates: time 0.878/22.1, allocations: 120.6 MB / 6.455 GB, free: 189.4 MB / 1.073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)