Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 177.1 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008183/0.0008182, allocations: 85.86 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 8.969 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7059/0.9342, allocations: 201.8 MB / 1.094 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009433/0.9437, allocations: 6.433 MB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.9453, allocations: 30.31 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.9471, allocations: 0.6455 MB / 1.101 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.9536, allocations: 2.53 MB / 1.103 GB, free: 1.195 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.001748/0.9553, allocations: 0.684 MB / 1.104 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004769/0.9601, allocations: 4.948 MB / 1.109 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.9613, allocations: 0.9347 MB / 1.11 GB, free: 1 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.9635, allocations: 1.109 MB / 1.111 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.9657, allocations: 1.103 MB / 1.112 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.9658, allocations: 64.06 kB / 1.112 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.9707, allocations: 2.714 MB / 1.114 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.9713, allocations: 460.7 kB / 1.115 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009381/0.9723, allocations: 0.6583 MB / 1.116 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.9756, allocations: 2.078 MB / 1.118 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9756, allocations: 0 / 1.118 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9756, allocations: 0 / 1.118 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.9757, allocations: 0 / 1.118 GB, free: 0.8203 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003479/0.9791, allocations: 1.529 MB / 1.119 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9792, allocations: 8.625 kB / 1.119 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.9811, allocations: 352.6 kB / 1.119 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.9823, allocations: 0.8367 MB / 1.12 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.9823, allocations: 78.8 kB / 1.12 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.9825, allocations: 104.2 kB / 1.12 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.9842, allocations: 1.206 MB / 1.122 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.9842, allocations: 5.781 kB / 1.122 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.9843, allocations: 46.38 kB / 1.122 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.9844, allocations: 61.61 kB / 1.122 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.986, allocations: 1.253 MB / 1.123 GB, free: 15.5 MB / 0.7136 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.006045/0.9921, allocations: 5.08 MB / 1.128 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.9938, allocations: 1.141 MB / 1.129 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.9944, allocations: 0.4973 MB / 1.129 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.9945, allocations: 19.17 kB / 1.13 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/0.9952, allocations: 497.5 kB / 1.13 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.377e-06/0.9952, allocations: 0 / 1.13 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001851/0.9971, allocations: 1.143 MB / 1.131 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.9971, allocations: 60.69 kB / 1.131 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.9979, allocations: 0.577 MB / 1.132 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.9979, allocations: 41.89 kB / 1.132 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.9983, allocations: 466.8 kB / 1.132 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.9985, allocations: 266.2 kB / 1.132 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.9986, allocations: 64.67 kB / 1.133 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9987, allocations: 385.1 kB / 1.133 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.9992, allocations: 326.9 kB / 1.133 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.9997, allocations: 459.2 kB / 1.134 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/1.001, allocations: 0.8196 MB / 1.134 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.001, allocations: 0 / 1.134 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001175/1.002, allocations: 0.9179 MB / 1.135 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.002, allocations: 10.5 kB / 1.135 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.002, allocations: 3.5 kB / 1.135 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.002, allocations: 6.281 kB / 1.135 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.002, allocations: 160.9 kB / 1.136 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.002, allocations: 10 kB / 1.136 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/1.003, allocations: 136.5 kB / 1.136 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/1.003, allocations: 28.27 kB / 1.136 GB, free: 11.07 MB / 0.7136 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.0004611/1.004, allocations: 337.9 kB / 1.136 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.004, allocations: 87.97 kB / 1.136 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/1.004, allocations: 107.5 kB / 1.136 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.004, allocations: 10.2 kB / 1.136 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.004, allocations: 4.812 kB / 1.136 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.006, allocations: 1.078 MB / 1.137 GB, free: 10.43 MB / 0.7136 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.002944/1.009, allocations: 2.311 MB / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.009, allocations: 0 / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/1.009, allocations: 179.2 kB / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.009, allocations: 3.594 kB / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/1.009, allocations: 16.81 kB / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.009, allocations: 4.922 kB / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.009, allocations: 0 / 1.14 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.011, allocations: 1.476 MB / 1.141 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/1.011, allocations: 259.4 kB / 1.141 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/1.012, allocations: 15.53 kB / 1.141 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/1.012, allocations: 107.5 kB / 1.142 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/1.012, allocations: 44.94 kB / 1.142 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/1.013, allocations: 32.89 kB / 1.142 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004289/1.013, allocations: 420.5 kB / 1.142 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.013, allocations: 2.531 kB / 1.142 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008266/1.014, allocations: 368.4 kB / 1.142 GB, free: 9.168 MB / 0.7136 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.0002587/1.014, allocations: 177.8 kB / 1.143 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.015, allocations: 0.7937 MB / 1.143 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.015, allocations: 0 / 1.143 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/1.016, allocations: 427.7 kB / 1.144 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.018, allocations: 0.5619 MB / 1.144 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/1.021, allocations: 2.703 MB / 1.147 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/1.022, allocations: 1.148 MB / 1.148 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.022, allocations: 78.53 kB / 1.148 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/1.022, allocations: 6.531 kB / 1.148 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.02331/1.046, allocations: 15.84 MB / 1.164 GB, free: 10.93 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)