Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001216, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 64.73 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3779, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9763/1.354, allocations: 204.2 MB / 1.268 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.366, allocations: 6.375 MB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/1.368, allocations: 40 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/1.37, allocations: 0.7378 MB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008536/1.379, allocations: 2.669 MB / 1.277 GB, free: 5.566 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002337/1.381, allocations: 0.7009 MB / 1.278 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005038/1.386, allocations: 3.271 MB / 1.281 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/1.388, allocations: 1.149 MB / 1.282 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/1.392, allocations: 1.236 MB / 1.283 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/1.396, allocations: 1.096 MB / 1.284 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003317/1.396, allocations: 129 kB / 1.285 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006833/1.403, allocations: 2.359 MB / 1.287 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/1.404, allocations: 0.5171 MB / 1.287 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/1.406, allocations: 0.7416 MB / 1.288 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007694/1.414, allocations: 2.78 MB / 1.291 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.414, allocations: 1.062 kB / 1.291 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.414, allocations: 0 / 1.291 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.446e-05/1.414, allocations: 1.531 kB / 1.291 GB, free: 5.223 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005577/1.419, allocations: 1.768 MB / 1.292 GB, free: 20.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.419, allocations: 9.594 kB / 1.293 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/1.422, allocations: 347.9 kB / 1.293 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.423, allocations: 0.8344 MB / 1.294 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/1.424, allocations: 73.92 kB / 1.294 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/1.424, allocations: 102.4 kB / 1.294 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/1.426, allocations: 1.196 MB / 1.295 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/1.426, allocations: 0.9688 kB / 1.295 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.426, allocations: 41.38 kB / 1.295 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.792e-05/1.426, allocations: 60.3 kB / 1.295 GB, free: 19.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/1.428, allocations: 1.25 MB / 1.296 GB, free: 19.9 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007202/1.435, allocations: 5.144 MB / 1.301 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.437, allocations: 1.162 MB / 1.302 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/1.438, allocations: 0.4994 MB / 1.303 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/1.438, allocations: 17.28 kB / 1.303 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007948/1.439, allocations: 493.1 kB / 1.303 GB, free: 16.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.406e-06/1.439, allocations: 1 kB / 1.303 GB, free: 16.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002215/1.441, allocations: 1.16 MB / 1.305 GB, free: 16.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.441, allocations: 59.06 kB / 1.305 GB, free: 16.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/1.442, allocations: 0.5705 MB / 1.305 GB, free: 16.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/1.442, allocations: 43.98 kB / 1.305 GB, free: 16.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.442, allocations: 469.6 kB / 1.306 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.442, allocations: 262.2 kB / 1.306 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/1.443, allocations: 132.5 kB / 1.306 GB, free: 16.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.443, allocations: 384 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/1.443, allocations: 330.7 kB / 1.307 GB, free: 15.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/1.444, allocations: 447.4 kB / 1.307 GB, free: 15.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.445, allocations: 0.8279 MB / 1.308 GB, free: 15.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.445, allocations: 3.406 kB / 1.308 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001644/1.447, allocations: 0.9291 MB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.447, allocations: 5.5 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.447, allocations: 3.625 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/1.447, allocations: 6.875 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/1.448, allocations: 159.8 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.448, allocations: 5.5 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008657/1.449, allocations: 69.17 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/1.449, allocations: 25.59 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006637/1.449, allocations: 330.1 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/1.449, allocations: 88.22 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/1.45, allocations: 110.1 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.45, allocations: 12.11 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.45, allocations: 0 / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/1.451, allocations: 1.09 MB / 1.311 GB, free: 14.91 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/1.455, allocations: 2.306 MB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.455, allocations: 0 / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/1.455, allocations: 176.2 kB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.455, allocations: 4.812 kB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/1.455, allocations: 20.62 kB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.455, allocations: 3.844 kB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.455, allocations: 0.9375 kB / 1.313 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.457, allocations: 1.354 MB / 1.314 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/1.458, allocations: 252.5 kB / 1.315 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.458, allocations: 14.84 kB / 1.315 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/1.459, allocations: 35.09 kB / 1.315 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/1.459, allocations: 42.06 kB / 1.315 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.459, allocations: 31.36 kB / 1.315 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000577/1.459, allocations: 410.1 kB / 1.315 GB, free: 13.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.459, allocations: 1.094 kB / 1.315 GB, free: 13.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00118/1.461, allocations: 369.8 kB / 1.316 GB, free: 13.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/1.461, allocations: 173.9 kB / 1.316 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001972/1.463, allocations: 1.032 MB / 1.317 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.463, allocations: 3.188 kB / 1.317 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/1.463, allocations: 424 kB / 1.317 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.466, allocations: 0.5985 MB / 1.318 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/1.47, allocations: 2.196 MB / 1.32 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/1.471, allocations: 1.14 MB / 1.321 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00113/1.472, allocations: 269.8 kB / 1.321 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.472, allocations: 74.16 kB / 1.321 GB, free: 12.04 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.472, allocations: 0 / 1.321 GB, free: 12.04 MB / 1.014 GB Notification: Performance of Templates: time 0.03566/1.508, allocations: 19.08 MB / 1.34 GB, free: 7.887 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)