Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.72 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4551, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.071/1.526, allocations: 201.6 MB / 1.265 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009815/1.536, allocations: 6.343 MB / 1.271 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/1.538, allocations: 31.84 kB / 1.271 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/1.54, allocations: 0.6629 MB / 1.271 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008862/1.549, allocations: 2.518 MB / 1.274 GB, free: 5.379 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.002732/1.552, allocations: 0.6526 MB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00593/1.558, allocations: 3.271 MB / 1.278 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/1.56, allocations: 1.114 MB / 1.279 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/1.564, allocations: 1.257 MB / 1.28 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/1.568, allocations: 1.171 MB / 1.281 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/1.569, allocations: 127.4 kB / 1.281 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/1.577, allocations: 2.469 MB / 1.284 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/1.579, allocations: 0.5161 MB / 1.284 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002118/1.581, allocations: 0.74 MB / 1.285 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00902/1.59, allocations: 2.938 MB / 1.288 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.59, allocations: 0.875 kB / 1.288 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.59, allocations: 1.344 kB / 1.288 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.065e-05/1.59, allocations: 0.875 kB / 1.288 GB, free: 5.078 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.006282/1.596, allocations: 1.772 MB / 1.29 GB, free: 20.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.596, allocations: 10.5 kB / 1.29 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/1.599, allocations: 345.7 kB / 1.29 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/1.601, allocations: 0.8406 MB / 1.291 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/1.601, allocations: 78.05 kB / 1.291 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.601, allocations: 100.6 kB / 1.291 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.603, allocations: 1.193 MB / 1.292 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/1.603, allocations: 1.828 kB / 1.292 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.604, allocations: 43.7 kB / 1.292 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.823e-05/1.604, allocations: 59.31 kB / 1.292 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/1.606, allocations: 1.246 MB / 1.293 GB, free: 19.75 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.007519/1.613, allocations: 5.075 MB / 1.298 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.615, allocations: 1.16 MB / 1.299 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/1.616, allocations: 0.498 MB / 1.3 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/1.616, allocations: 17.31 kB / 1.3 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/1.617, allocations: 485.3 kB / 1.3 GB, free: 16.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 4.849e-06/1.617, allocations: 3.938 kB / 1.3 GB, free: 16.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00221/1.619, allocations: 1.161 MB / 1.302 GB, free: 16.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/1.619, allocations: 64.38 kB / 1.302 GB, free: 16.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/1.62, allocations: 0.5675 MB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/1.62, allocations: 43.39 kB / 1.302 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/1.62, allocations: 470.7 kB / 1.303 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/1.62, allocations: 262.5 kB / 1.303 GB, free: 16.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/1.621, allocations: 132.6 kB / 1.303 GB, free: 16.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.621, allocations: 383.2 kB / 1.303 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/1.621, allocations: 331.2 kB / 1.304 GB, free: 15.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/1.622, allocations: 457.7 kB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.623, allocations: 0.8221 MB / 1.305 GB, free: 15.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.623, allocations: 1.25 kB / 1.305 GB, free: 15.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001437/1.624, allocations: 0.9262 MB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.624, allocations: 10.38 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.624, allocations: 3.219 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.624, allocations: 7.438 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/1.625, allocations: 157.5 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.625, allocations: 10.19 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.626, allocations: 162.8 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/1.627, allocations: 28.38 kB / 1.306 GB, free: 15.39 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.0006164/1.627, allocations: 329.9 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.627, allocations: 84.88 kB / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/1.627, allocations: 109.1 kB / 1.307 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.628, allocations: 8.25 kB / 1.307 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/1.628, allocations: 1.031 kB / 1.307 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/1.629, allocations: 1.092 MB / 1.308 GB, free: 14.77 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.004118/1.633, allocations: 2.306 MB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.633, allocations: 1.438 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/1.634, allocations: 172.5 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.634, allocations: 3.188 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/1.634, allocations: 20.62 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/1.634, allocations: 7.406 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.634, allocations: 0.9688 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.636, allocations: 1.354 MB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/1.636, allocations: 255.2 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.636, allocations: 16.73 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/1.637, allocations: 97.7 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.637, allocations: 42.08 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/1.637, allocations: 31.72 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005393/1.638, allocations: 422.1 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.638, allocations: 0.6875 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001186/1.639, allocations: 367.4 kB / 1.313 GB, free: 13.75 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.0003224/1.639, allocations: 178.6 kB / 1.313 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.641, allocations: 1.03 MB / 1.314 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.641, allocations: 2.094 kB / 1.314 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005068/1.642, allocations: 428.5 kB / 1.314 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.644, allocations: 0.5956 MB / 1.315 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/1.648, allocations: 2.623 MB / 1.317 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/1.649, allocations: 1.145 MB / 1.319 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001233/1.65, allocations: 271.7 kB / 1.319 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/1.65, allocations: 74.86 kB / 1.319 GB, free: 11.46 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.65, allocations: 0 / 1.319 GB, free: 11.46 MB / 1.014 GB Notification: Performance of Templates: time 0.03084/1.681, allocations: 18.98 MB / 1.337 GB, free: 7.777 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)