Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") [: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 1.6.0+build.1/package.mo): time 0.4889/0.4889, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001073/0.001073, allocations: 177.8 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.101/1.101, allocations: 170.5 MB / 319 MB, free: 9.418 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001548/0.001548, allocations: 111.2 kB / 381 MB, free: 18.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.065e-06, allocations: 0 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8672/1.001, allocations: 401.3 MB / 0.89 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.002, allocations: 82.2 kB / 0.8901 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.283/2.285, allocations: 368.2 MB / 1.25 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002111/2.285, allocations: 44 kB / 1.25 GB, free: 71.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.009535/2.295, allocations: 2.61 MB / 1.252 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.295, allocations: 8.031 kB / 1.252 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/2.297, allocations: 249.9 kB / 1.252 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/2.302, allocations: 1.705 MB / 1.254 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/2.302, allocations: 66.59 kB / 1.254 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009246/2.303, allocations: 123.9 kB / 1.254 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00662/2.31, allocations: 3.106 MB / 1.257 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/2.316, allocations: 2.311 MB / 1.26 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-05/2.316, allocations: 3.844 kB / 1.26 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004952/2.316, allocations: 4 kB / 1.26 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/2.316, allocations: 48 kB / 1.26 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/2.331, allocations: 7.258 MB / 1.267 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/2.333, allocations: 1.504 MB / 1.268 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/2.336, allocations: 1.936 MB / 1.27 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/2.337, allocations: 1.392 MB / 1.271 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/2.337, allocations: 69.11 kB / 1.272 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=323): time 5.36e-06/2.337, allocations: 0 / 1.272 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=338): time 0.02207/2.359, allocations: 7.8 MB / 1.279 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/2.359, allocations: 86.06 kB / 1.279 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/2.361, allocations: 0.6296 MB / 1.28 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/2.361, allocations: 25.7 kB / 1.28 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/2.361, allocations: 439.2 kB / 1.28 GB, free: 39.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009734/2.362, allocations: 1.081 MB / 1.281 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/2.362, allocations: 0 / 1.281 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002121/2.363, allocations: 427.9 kB / 1.282 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/2.365, allocations: 1.232 MB / 1.283 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/2.367, allocations: 1.491 MB / 1.284 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/2.371, allocations: 1.693 MB / 1.286 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/2.371, allocations: 0 / 1.286 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.008075/2.379, allocations: 3.754 MB / 1.29 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/2.379, allocations: 4 kB / 1.29 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/2.38, allocations: 4 kB / 1.29 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/2.38, allocations: 78.77 kB / 1.29 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/2.383, allocations: 0.628 MB / 1.29 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/2.385, allocations: 3.733 MB / 1.294 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/2.388, allocations: 123.9 kB / 1.294 GB, free: 24.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/2.388, allocations: 104 kB / 1.294 GB, free: 24.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 364 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007111/2.389, allocations: 148.4 kB / 1.294 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/2.39, allocations: 185.8 kB / 1.295 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/2.399, allocations: 4.235 MB / 1.299 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/2.399, allocations: 39.89 kB / 1.299 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/2.399, allocations: 3.906 kB / 1.299 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/2.399, allocations: 15.94 kB / 1.299 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/2.415, allocations: 6.811 MB / 1.305 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/2.415, allocations: 7.906 kB / 1.305 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003363/2.418, allocations: 0.6202 MB / 1.306 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/2.418, allocations: 70.55 kB / 1.306 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003913/2.419, allocations: 37.53 kB / 1.306 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/2.421, allocations: 3.731 MB / 1.31 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.421, allocations: 4.062 kB / 1.31 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01159/2.432, allocations: 6.074 MB / 1.316 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/2.434, allocations: 0.5882 MB / 1.316 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/2.435, allocations: 4 kB / 1.316 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/2.438, allocations: 91.75 kB / 1.316 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/2.438, allocations: 178.6 kB / 1.317 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003259/2.438, allocations: 108 kB / 1.317 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008689/2.439, allocations: 491.1 kB / 1.317 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.2625/2.702, allocations: 0.7662 MB / 1.318 GB, free: 126.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.p,volA.dynBal.medium.T,volB.dynBal.medium.p,volB.dynBal.medium.T,volC.dynBal.medium.p,volC.dynBal.medium.T,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 362 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002156/2.704, allocations: 0.6632 MB / 1.319 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005405/2.709, allocations: 3.54 MB / 1.322 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.709, allocations: 3.188 kB / 1.322 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/2.712, allocations: 2.125 MB / 1.324 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/2.715, allocations: 0.6524 MB / 1.325 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00957/2.725, allocations: 4.615 MB / 1.329 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/2.727, allocations: 1.878 MB / 1.331 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/2.727, allocations: 2.75 kB / 1.331 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07383/2.801, allocations: 46.21 MB / 1.376 GB, free: 122.9 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)