Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009611/0.0009611, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001067/0.001067, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.689/0.689, allocations: 95.64 MB / 366 MB, free: 10.32 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006501, allocations: 23.89 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4556, allocations: 70.34 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6177/1.073, allocations: 196.3 MB / 0.6967 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006443/1.08, allocations: 3.034 MB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/1.081, allocations: 30.19 kB / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/1.083, allocations: 366.4 kB / 0.7001 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006012/1.089, allocations: 1.743 MB / 0.7018 GB, free: 12.62 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Airflow/Multizone/ZonalFlow_ACS.mo:30:3-36: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.002205/1.091, allocations: 0.5864 MB / 0.7023 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003959/1.095, allocations: 2.85 MB / 0.7051 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009548/1.096, allocations: 0.5468 MB / 0.7057 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/1.099, allocations: 1.04 MB / 0.7067 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/1.1, allocations: 0.7745 MB / 0.7074 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/1.1, allocations: 38.5 kB / 0.7075 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/1.104, allocations: 1.248 MB / 0.7087 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004721/1.105, allocations: 334.1 kB / 0.709 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/1.105, allocations: 219.3 kB / 0.7092 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/1.108, allocations: 1.634 MB / 0.7108 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.108, allocations: 7.438 kB / 0.7108 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.108, allocations: 0 / 0.7108 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.108, allocations: 0 / 0.7108 GB, free: 9.305 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002646/1.111, allocations: 1.271 MB / 0.7121 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.111, allocations: 14.8 kB / 0.7121 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/1.111, allocations: 111.6 kB / 0.7122 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.113, allocations: 0.8461 MB / 0.713 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/1.113, allocations: 54.69 kB / 0.713 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/1.113, allocations: 71.56 kB / 0.7131 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/1.114, allocations: 0.8731 MB / 0.714 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.114, allocations: 0 / 0.714 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/1.114, allocations: 33.95 kB / 0.714 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/1.114, allocations: 35.7 kB / 0.714 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.116, allocations: 0.8917 MB / 0.7149 GB, free: 7.535 MB / 0.4981 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.004531/1.12, allocations: 3.891 MB / 0.7187 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/1.121, allocations: 0.5636 MB / 0.7193 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/1.122, allocations: 432 kB / 0.7197 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000878/1.123, allocations: 0.6999 MB / 0.7204 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008433/1.124, allocations: 470.3 kB / 0.7208 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 2.615e-06/1.124, allocations: 1.969 kB / 0.7208 GB, free: 3.859 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: rooA.dynBal.medium.T 2: rooA.dynBal.medium.p 3: rooB.dynBal.medium.T 4: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=70): time 0.007942/1.132, allocations: 3.422 MB / 0.7241 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.132, allocations: 55.97 kB / 0.7242 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/1.132, allocations: 0.4892 MB / 0.7247 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/1.132, allocations: 41.2 kB / 0.7247 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/1.133, allocations: 340.2 kB / 0.725 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/1.133, allocations: 249.4 kB / 0.7253 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/1.133, allocations: 9.438 kB / 0.7253 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.133, allocations: 378.3 kB / 0.7256 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/1.134, allocations: 300.6 kB / 0.7259 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/1.134, allocations: 385.2 kB / 0.7263 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/1.135, allocations: 357.2 kB / 0.7266 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.135, allocations: 3.938 kB / 0.7266 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001223/1.136, allocations: 0.8227 MB / 0.7274 GB, free: 0 / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/1.136, allocations: 4.047 kB / 0.7275 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.136, allocations: 6.016 kB / 0.7275 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.136, allocations: 8 kB / 0.7275 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/1.137, allocations: 146.1 kB / 0.7276 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.137, allocations: 7.938 kB / 0.7276 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/1.137, allocations: 87.08 kB / 0.7277 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/1.137, allocations: 27.48 kB / 0.7277 GB, free: 15.74 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 81 * 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.0003894/1.138, allocations: 271.1 kB / 0.728 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.138, allocations: 67.25 kB / 0.728 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.139, allocations: 0.9428 MB / 0.729 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/1.139, allocations: 4 kB / 0.729 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.139, allocations: 8 kB / 0.729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.139, allocations: 7.938 kB / 0.729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.143, allocations: 2.112 MB / 0.731 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.143, allocations: 0 / 0.731 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.143, allocations: 146.3 kB / 0.7312 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009076/1.144, allocations: 169.8 kB / 0.7313 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/1.144, allocations: 24.73 kB / 0.7314 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/1.145, allocations: 1.149 MB / 0.7325 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.145, allocations: 0 / 0.7325 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.147, allocations: 1.31 MB / 0.7338 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/1.148, allocations: 255.1 kB / 0.734 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.148, allocations: 23.19 kB / 0.734 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/1.149, allocations: 69.72 kB / 0.7341 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.149, allocations: 47.09 kB / 0.7342 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/1.149, allocations: 34.34 kB / 0.7342 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004814/1.149, allocations: 365.3 kB / 0.7345 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 0 / 0.7345 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001588/1.151, allocations: 487 kB / 0.735 GB, free: 9.836 MB / 0.5137 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 (72): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/1.152, allocations: 0.5081 MB / 0.7355 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.153, allocations: 0.7404 MB / 0.7362 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.153, allocations: 0 / 0.7362 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/1.154, allocations: 442.5 kB / 0.7366 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.156, allocations: 468.1 kB / 0.7371 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/1.16, allocations: 2.27 MB / 0.7393 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/1.16, allocations: 1.019 MB / 0.7403 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008893/1.161, allocations: 217.8 kB / 0.7405 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/1.161, allocations: 70.42 kB / 0.7406 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/1.161, allocations: 4 kB / 0.7406 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.03581/1.197, allocations: 21.41 MB / 0.7615 GB, free: 15.58 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: