Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.064/2.064, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 199.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 123.3 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.58 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2353, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1629/0.3981, allocations: 201.9 MB / 1.415 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009102/0.4073, allocations: 6.454 MB / 1.422 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.4086, allocations: 31.81 kB / 1.422 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.4104, allocations: 0.6454 MB / 1.422 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006119/0.4165, allocations: 2.525 MB / 1.425 GB, free: 0.9141 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.00171/0.4182, allocations: 0.6415 MB / 1.425 GB, free: 288 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.5201/0.9383, allocations: 4.836 MB / 1.43 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.9398, allocations: 0.9535 MB / 1.431 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.942, allocations: 1.095 MB / 1.432 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.9444, allocations: 1.149 MB / 1.433 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.9446, allocations: 71.41 kB / 1.433 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.9496, allocations: 2.72 MB / 1.436 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/0.9503, allocations: 475.3 kB / 1.436 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.9514, allocations: 0.6779 MB / 1.437 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.9567, allocations: 2.894 MB / 1.44 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9567, allocations: 0 / 1.44 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.41e-07/0.9567, allocations: 1.203 kB / 1.44 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.9567, allocations: 0 / 1.44 GB, free: 4.18 MB / 0.9167 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.004562/0.9613, allocations: 1.771 MB / 1.442 GB, free: 19.37 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9614, allocations: 12.83 kB / 1.442 GB, free: 19.37 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.9634, allocations: 346.3 kB / 1.442 GB, free: 19.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.9648, allocations: 0.8421 MB / 1.443 GB, free: 18.98 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.9649, allocations: 74.11 kB / 1.443 GB, free: 18.97 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.965, allocations: 100.7 kB / 1.443 GB, free: 18.97 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.9668, allocations: 1.194 MB / 1.444 GB, free: 18.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.9669, allocations: 0 / 1.444 GB, free: 18.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.967, allocations: 42.42 kB / 1.444 GB, free: 18.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-05/0.9671, allocations: 63.36 kB / 1.444 GB, free: 18.88 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.9689, allocations: 1.248 MB / 1.445 GB, free: 18.87 MB / 0.9323 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.005535/0.9744, allocations: 5.075 MB / 1.45 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.9758, allocations: 1.161 MB / 1.452 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.9764, allocations: 0.5058 MB / 1.452 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.9764, allocations: 20.91 kB / 1.452 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.977, allocations: 486.5 kB / 1.452 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.9771, allocations: 1.094 kB / 1.452 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.00165/0.9787, allocations: 1.156 MB / 1.454 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.9788, allocations: 60.09 kB / 1.454 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.9793, allocations: 0.5774 MB / 1.454 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.9794, allocations: 41.86 kB / 1.454 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.9796, allocations: 464.3 kB / 1.455 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.9798, allocations: 264.6 kB / 1.455 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.98, allocations: 133.5 kB / 1.455 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.9802, allocations: 386 kB / 1.455 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.9806, allocations: 328.4 kB / 1.456 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.9811, allocations: 457.3 kB / 1.456 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000902/0.982, allocations: 0.8217 MB / 1.457 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.982, allocations: 0 / 1.457 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00111/0.9831, allocations: 0.9306 MB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.9831, allocations: 12.22 kB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.9831, allocations: 2.781 kB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9832, allocations: 4.781 kB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.9838, allocations: 157.9 kB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9838, allocations: 9.734 kB / 1.458 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9848, allocations: 156.1 kB / 1.458 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.9849, allocations: 29.53 kB / 1.458 GB, free: 14.49 MB / 0.9323 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.0003967/0.9853, allocations: 330.1 kB / 1.459 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.9854, allocations: 85.84 kB / 1.459 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.9856, allocations: 108.8 kB / 1.459 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9856, allocations: 6.844 kB / 1.459 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.9856, allocations: 0 / 1.459 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.9867, allocations: 1.091 MB / 1.46 GB, free: 13.87 MB / 0.9323 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.002702/0.9894, allocations: 2.313 MB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9894, allocations: 3.188 kB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.9901, allocations: 173.8 kB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.9901, allocations: 2.094 kB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.9902, allocations: 18.23 kB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9902, allocations: 7.344 kB / 1.462 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.9902, allocations: 9.656 kB / 1.462 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/0.9975, allocations: 5.651 MB / 1.468 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.9979, allocations: 254.8 kB / 1.468 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.998, allocations: 15.44 kB / 1.468 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.9987, allocations: 103.5 kB / 1.468 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.9988, allocations: 44.86 kB / 1.468 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.9988, allocations: 25.52 kB / 1.468 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003732/0.9992, allocations: 414.5 kB / 1.469 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9992, allocations: 0 / 1.469 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001903/1.001, allocations: 0.5234 MB / 1.469 GB, free: 11.81 MB / 0.9323 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.0002331/1.001, allocations: 174.3 kB / 1.469 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000948/1.002, allocations: 0.7956 MB / 1.47 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.002, allocations: 3.375 kB / 1.47 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004673/1.003, allocations: 423.6 kB / 1.471 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.005, allocations: 0.568 MB / 1.471 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/1.009, allocations: 3.09 MB / 1.474 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/1.009, allocations: 1.164 MB / 1.475 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009763/1.01, allocations: 285.9 kB / 1.475 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/1.01, allocations: 81.69 kB / 1.476 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of SimCode: time 2.81e-07/1.01, allocations: 0 / 1.476 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of Templates: time 0.02839/1.039, allocations: 20.39 MB / 1.495 GB, free: 5.75 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)