Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001328/0.001327, allocations: 183.9 kB / 376.9 MB, free: 1.84 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.493/1.493, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.001041/0.001041, allocations: 99.97 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 51.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7216/0.9593, allocations: 201.9 MB / 1.179 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.9695, allocations: 6.379 MB / 1.186 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.9712, allocations: 30.03 kB / 1.186 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.9731, allocations: 0.6439 MB / 1.186 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.9799, allocations: 2.515 MB / 1.189 GB, free: 13.47 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.002087/0.982, allocations: 0.6315 MB / 1.189 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005778/0.9878, allocations: 4.815 MB / 1.194 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.9896, allocations: 0.9596 MB / 1.195 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.9922, allocations: 1.094 MB / 1.196 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.9951, allocations: 1.143 MB / 1.197 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.9953, allocations: 71.59 kB / 1.197 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/1.001, allocations: 2.727 MB / 1.2 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/1.002, allocations: 470.9 kB / 1.2 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.004, allocations: 0.6786 MB / 1.201 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006251/1.01, allocations: 2.885 MB / 1.204 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.01, allocations: 3.938 kB / 1.204 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.783e-06/1.01, allocations: 0 / 1.204 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.245e-05/1.01, allocations: 1.25 kB / 1.204 GB, free: 7.73 MB / 0.7917 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.005031/1.016, allocations: 1.756 MB / 1.206 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.016, allocations: 9.281 kB / 1.206 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/1.018, allocations: 346.4 kB / 1.206 GB, free: 6.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/1.02, allocations: 0.834 MB / 1.207 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/1.02, allocations: 79.69 kB / 1.207 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/1.02, allocations: 98.56 kB / 1.207 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/1.022, allocations: 1.195 MB / 1.208 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.022, allocations: 7.953 kB / 1.208 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.022, allocations: 34.12 kB / 1.208 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-05/1.022, allocations: 63.94 kB / 1.208 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/1.025, allocations: 1.241 MB / 1.209 GB, free: 5.074 MB / 0.7917 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.008143/1.033, allocations: 5.05 MB / 1.214 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/1.035, allocations: 1.152 MB / 1.215 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/1.036, allocations: 0.4986 MB / 1.216 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/1.036, allocations: 16.22 kB / 1.216 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008765/1.037, allocations: 486.5 kB / 1.216 GB, free: 348 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.037, allocations: 0 / 1.216 GB, free: 348 kB / 0.7917 GB Notification: Performance of matching and sorting (n=76): time 0.002321/1.039, allocations: 1.155 MB / 1.218 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.039, allocations: 63.97 kB / 1.218 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/1.04, allocations: 0.5649 MB / 1.218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/1.04, allocations: 42.2 kB / 1.218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.041, allocations: 459.4 kB / 1.219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.041, allocations: 272.2 kB / 1.219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/1.041, allocations: 132.1 kB / 1.219 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.041, allocations: 387.7 kB / 1.219 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/1.042, allocations: 330.5 kB / 1.22 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/1.043, allocations: 454.5 kB / 1.22 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.044, allocations: 0.8281 MB / 1.221 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.044, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001785/1.046, allocations: 0.9255 MB / 1.222 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.046, allocations: 11.58 kB / 1.222 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.046, allocations: 3.156 kB / 1.222 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.046, allocations: 6.125 kB / 1.222 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/1.047, allocations: 155.7 kB / 1.222 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/1.047, allocations: 15.47 kB / 1.222 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.048, allocations: 134.3 kB / 1.222 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/1.048, allocations: 24.86 kB / 1.222 GB, free: 13.23 MB / 0.8073 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.0006929/1.049, allocations: 336.3 kB / 1.222 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.049, allocations: 75.53 kB / 1.223 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/1.049, allocations: 108.4 kB / 1.223 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.049, allocations: 8.328 kB / 1.223 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.049, allocations: 3.938 kB / 1.223 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/1.051, allocations: 1.086 MB / 1.224 GB, free: 12.17 MB / 0.8073 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.004196/1.055, allocations: 2.301 MB / 1.226 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.055, allocations: 1.281 kB / 1.226 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/1.056, allocations: 177.4 kB / 1.226 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.056, allocations: 2.125 kB / 1.226 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/1.056, allocations: 21.05 kB / 1.226 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.056, allocations: 2.219 kB / 1.226 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.056, allocations: 2.531 kB / 1.226 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.067, allocations: 5.971 MB / 1.232 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/1.067, allocations: 248 kB / 1.232 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.068, allocations: 17.75 kB / 1.232 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/1.068, allocations: 102.1 kB / 1.232 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.069, allocations: 45.34 kB / 1.232 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/1.069, allocations: 24.89 kB / 1.232 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006282/1.069, allocations: 408.6 kB / 1.233 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.6e-07/1.069, allocations: 4 kB / 1.233 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002715/1.072, allocations: 0.5266 MB / 1.233 GB, free: 7.156 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0004221/1.072, allocations: 181.2 kB / 1.233 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001543/1.074, allocations: 0.7998 MB / 1.234 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/1.074, allocations: 1.406 kB / 1.234 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/1.075, allocations: 428 kB / 1.235 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.078, allocations: 0.5572 MB / 1.235 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/1.082, allocations: 3.069 MB / 1.238 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009286/1.083, allocations: 1.155 MB / 1.239 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001424/1.085, allocations: 281.7 kB / 1.24 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.085, allocations: 76.39 kB / 1.24 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/1.085, allocations: 0 / 1.24 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.03449/1.12, allocations: 20.49 MB / 1.26 GB, free: 6.785 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)