Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.00153/0.00153, allocations: 185 kB / 371.8 MB, free: 10.27 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.529/1.529, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009374/0.0009371, allocations: 102.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004403, allocations: 15.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.241, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7407/0.9818, allocations: 168.7 MB / 1.144 GB, free: 14.28 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.9933, allocations: 6.447 MB / 1.15 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.9954, allocations: 28.31 kB / 1.151 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.9978, allocations: 0.6548 MB / 1.151 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007853/1.006, allocations: 2.037 MB / 1.153 GB, free: 6.984 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.002973/1.009, allocations: 0.7817 MB / 1.154 GB, free: 6.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003979/1.013, allocations: 1.836 MB / 1.156 GB, free: 5.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.014, allocations: 0.8174 MB / 1.157 GB, free: 4.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/1.018, allocations: 1.139 MB / 1.158 GB, free: 4.102 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/1.019, allocations: 0.6525 MB / 1.158 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.02, allocations: 56.12 kB / 1.158 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/1.023, allocations: 0.8653 MB / 1.159 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005965/1.024, allocations: 406.2 kB / 1.16 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006835/1.025, allocations: 286 kB / 1.16 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/1.028, allocations: 1.636 MB / 1.161 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.028, allocations: 0 / 1.161 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.168e-06/1.028, allocations: 1.156 kB / 1.161 GB, free: 1.938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.028, allocations: 0 / 1.161 GB, free: 1.938 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004283/1.032, allocations: 1.466 MB / 1.163 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.032, allocations: 13.73 kB / 1.163 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/1.034, allocations: 353.9 kB / 1.163 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.036, allocations: 0.8081 MB / 1.164 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/1.036, allocations: 79.19 kB / 1.164 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/1.036, allocations: 99.41 kB / 1.164 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/1.039, allocations: 1.179 MB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/1.039, allocations: 3.906 kB / 1.165 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.039, allocations: 44.84 kB / 1.165 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.979e-05/1.039, allocations: 62.5 kB / 1.165 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/1.041, allocations: 1.233 MB / 1.167 GB, free: 14.64 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.00729/1.048, allocations: 5.045 MB / 1.172 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/1.05, allocations: 1.143 MB / 1.173 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.611e-05/1.05, allocations: 10.97 kB / 1.173 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007344/1.051, allocations: 491.6 kB / 1.173 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.098e-06/1.051, allocations: 0 / 1.173 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002049/1.053, allocations: 1.144 MB / 1.174 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.053, allocations: 68.53 kB / 1.174 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/1.054, allocations: 0.5686 MB / 1.175 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.054, allocations: 40.23 kB / 1.175 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/1.054, allocations: 456.5 kB / 1.175 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/1.054, allocations: 274.2 kB / 1.176 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/1.054, allocations: 14.38 kB / 1.176 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.054, allocations: 384.7 kB / 1.176 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/1.055, allocations: 327.3 kB / 1.176 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/1.056, allocations: 450 kB / 1.177 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/1.056, allocations: 408.8 kB / 1.177 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.056, allocations: 0 / 1.177 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001359/1.058, allocations: 0.9232 MB / 1.178 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.058, allocations: 7.094 kB / 1.178 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.058, allocations: 7.203 kB / 1.178 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.058, allocations: 5.156 kB / 1.178 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/1.058, allocations: 160.4 kB / 1.178 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.058, allocations: 7.906 kB / 1.178 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.059, allocations: 132.7 kB / 1.178 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/1.059, allocations: 28.84 kB / 1.178 GB, free: 5.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006075/1.06, allocations: 333.3 kB / 1.179 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.06, allocations: 76.91 kB / 1.179 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/1.06, allocations: 104.5 kB / 1.179 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.06, allocations: 7.219 kB / 1.179 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.061, allocations: 0 / 1.179 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/1.062, allocations: 1.091 MB / 1.18 GB, free: 4.676 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.003407/1.065, allocations: 2.27 MB / 1.182 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.065, allocations: 0 / 1.182 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/1.066, allocations: 175.8 kB / 1.182 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/1.066, allocations: 2.906 kB / 1.182 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/1.066, allocations: 20.11 kB / 1.182 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.066, allocations: 7.203 kB / 1.182 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.066, allocations: 2.531 kB / 1.182 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.068, allocations: 1.491 MB / 1.184 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/1.069, allocations: 251.1 kB / 1.184 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.069, allocations: 16.3 kB / 1.184 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/1.07, allocations: 105.2 kB / 1.184 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/1.07, allocations: 41.06 kB / 1.184 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/1.07, allocations: 33.78 kB / 1.184 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000513/1.07, allocations: 406.7 kB / 1.185 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.07, allocations: 0 / 1.185 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001194/1.071, allocations: 368.3 kB / 1.185 GB, free: 1.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/1.072, allocations: 172.4 kB / 1.185 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.073, allocations: 0.7946 MB / 1.186 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.073, allocations: 0 / 1.186 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005248/1.073, allocations: 430.5 kB / 1.186 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.076, allocations: 0.5546 MB / 1.187 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/1.081, allocations: 2.664 MB / 1.189 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.082, allocations: 1.157 MB / 1.191 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00176/1.084, allocations: 272.5 kB / 1.191 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.084, allocations: 74.14 kB / 1.191 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/1.084, allocations: 0 / 1.191 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.03399/1.118, allocations: 17.6 MB / 1.208 GB, free: 13.43 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)