Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0014/0.001399, allocations: 107.2 kB / 16.64 MB, free: 6.367 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.001277/0.001277, allocations: 188.5 kB / 17.56 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7991/0.7991, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002285, allocations: 67.91 kB / 0.4943 GB, free: 4.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.374, allocations: 78.56 MB / 0.571 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5834/0.9574, allocations: 201.6 MB / 0.7679 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.9679, allocations: 6.352 MB / 0.7741 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.9699, allocations: 32.44 kB / 0.7741 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.9721, allocations: 0.66 MB / 0.7747 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007274/0.9794, allocations: 2.517 MB / 0.7772 GB, free: 1.625 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.002089/0.9815, allocations: 0.6477 MB / 0.7778 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005149/0.9867, allocations: 3.276 MB / 0.781 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.9886, allocations: 1.11 MB / 0.7821 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.9919, allocations: 1.383 MB / 0.7835 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.9946, allocations: 1.156 MB / 0.7846 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.9949, allocations: 128.5 kB / 0.7847 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/1, allocations: 2.464 MB / 0.7871 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007684/1.001, allocations: 0.518 MB / 0.7876 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/1.002, allocations: 0.7362 MB / 0.7884 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/1.006, allocations: 2.097 MB / 0.7904 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.006, allocations: 0 / 0.7904 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/1.006, allocations: 0 / 0.7904 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.394e-05/1.006, allocations: 0.8125 kB / 0.7904 GB, free: 1.316 MB / 0.5762 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.00437/1.01, allocations: 1.771 MB / 0.7921 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.01, allocations: 8.5 kB / 0.7921 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/1.012, allocations: 350 kB / 0.7925 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.014, allocations: 0.8373 MB / 0.7933 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/1.014, allocations: 78.22 kB / 0.7934 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.014, allocations: 100.2 kB / 0.7935 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.016, allocations: 1.191 MB / 0.7946 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.016, allocations: 5.906 kB / 0.7946 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.016, allocations: 44.62 kB / 0.7947 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/1.016, allocations: 64.52 kB / 0.7947 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/1.018, allocations: 1.244 MB / 0.7959 GB, free: 15.99 MB / 0.5919 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.006593/1.024, allocations: 5.221 MB / 0.801 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/1.026, allocations: 1.153 MB / 0.8022 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/1.027, allocations: 0.5022 MB / 0.8027 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/1.027, allocations: 23.81 kB / 0.8027 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/1.027, allocations: 485.9 kB / 0.8031 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/1.027, allocations: 0 / 0.8031 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001828/1.029, allocations: 1.156 MB / 0.8043 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/1.029, allocations: 61.69 kB / 0.8043 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/1.03, allocations: 0.5866 MB / 0.8049 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/1.03, allocations: 37.95 kB / 0.8049 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.03, allocations: 460.3 kB / 0.8054 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.031, allocations: 267.7 kB / 0.8056 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.031, allocations: 132 kB / 0.8058 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.031, allocations: 386.1 kB / 0.8061 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/1.032, allocations: 328.7 kB / 0.8064 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/1.032, allocations: 451.8 kB / 0.8069 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.033, allocations: 0.8221 MB / 0.8077 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.033, allocations: 2.094 kB / 0.8077 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00132/1.035, allocations: 0.9348 MB / 0.8086 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.035, allocations: 5.875 kB / 0.8086 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.035, allocations: 5.344 kB / 0.8086 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.035, allocations: 5 kB / 0.8086 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/1.035, allocations: 161.3 kB / 0.8088 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.035, allocations: 8.75 kB / 0.8088 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.037, allocations: 160.6 kB / 0.8089 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.037, allocations: 23.78 kB / 0.8089 GB, free: 11.44 MB / 0.5919 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.0005343/1.037, allocations: 331.8 kB / 0.8093 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.037, allocations: 84.47 kB / 0.8093 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/1.038, allocations: 107.4 kB / 0.8094 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.038, allocations: 8.5 kB / 0.8095 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.038, allocations: 0.8438 kB / 0.8095 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/1.039, allocations: 1.098 MB / 0.8105 GB, free: 10.8 MB / 0.5919 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.003323/1.042, allocations: 2.308 MB / 0.8128 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.042, allocations: 0 / 0.8128 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/1.043, allocations: 175.7 kB / 0.813 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.043, allocations: 3.766 kB / 0.813 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/1.043, allocations: 21.78 kB / 0.813 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.043, allocations: 7.25 kB / 0.813 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.043, allocations: 3.938 kB / 0.813 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.045, allocations: 1.345 MB / 0.8143 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/1.045, allocations: 254.8 kB / 0.8145 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.045, allocations: 15.44 kB / 0.8146 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/1.046, allocations: 107.1 kB / 0.8147 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/1.046, allocations: 44.09 kB / 0.8147 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/1.046, allocations: 27.55 kB / 0.8147 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004844/1.047, allocations: 412.7 kB / 0.8151 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.047, allocations: 1.641 kB / 0.8151 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009719/1.048, allocations: 367.4 kB / 0.8155 GB, free: 9.801 MB / 0.5919 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.0002864/1.048, allocations: 177 kB / 0.8156 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.05, allocations: 1.039 MB / 0.8167 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.05, allocations: 0 / 0.8167 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/1.05, allocations: 423.8 kB / 0.8171 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.053, allocations: 0.5944 MB / 0.8176 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/1.057, allocations: 2.708 MB / 0.8203 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/1.058, allocations: 1.136 MB / 0.8214 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.058, allocations: 82.97 kB / 0.8215 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/1.058, allocations: 0 / 0.8215 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of Templates: time 0.0251/1.083, allocations: 15.76 MB / 0.8369 GB, free: 10.39 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)