Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4925, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1803/0.6728, allocations: 204.2 MB / 1.149 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00828/0.6811, allocations: 6.381 MB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.6818, allocations: 35.81 kB / 1.155 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.6833, allocations: 0.7304 MB / 1.156 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.6881, allocations: 2.672 MB / 1.159 GB, free: 11.07 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.00131/0.6894, allocations: 0.6984 MB / 1.159 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.6922, allocations: 3.278 MB / 1.163 GB, free: 7.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.6933, allocations: 1.137 MB / 1.164 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.6947, allocations: 1.253 MB / 1.165 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.6962, allocations: 1.097 MB / 1.166 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.6964, allocations: 128 kB / 1.166 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.6999, allocations: 2.358 MB / 1.168 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.7003, allocations: 0.5104 MB / 1.169 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.701, allocations: 0.743 MB / 1.17 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.7039, allocations: 2.766 MB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7039, allocations: 0 / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7039, allocations: 3.938 kB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.7039, allocations: 3.984 kB / 1.172 GB, free: 13.05 MB / 0.9356 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.003202/0.7071, allocations: 1.765 MB / 1.174 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.337e-05/0.7072, allocations: 12.03 kB / 1.174 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.7073, allocations: 164.6 kB / 1.174 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.7093, allocations: 354.1 kB / 1.175 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.7104, allocations: 0.8311 MB / 1.175 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.7104, allocations: 78.02 kB / 1.175 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7106, allocations: 103.9 kB / 1.176 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.7122, allocations: 1.195 MB / 1.177 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.7122, allocations: 7.938 kB / 1.177 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.7123, allocations: 47.97 kB / 1.177 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.7124, allocations: 58.08 kB / 1.177 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.7141, allocations: 1.246 MB / 1.178 GB, free: 7.055 MB / 0.9356 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.005266/0.7193, allocations: 5.138 MB / 1.183 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7206, allocations: 1.164 MB / 1.184 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006437/0.7213, allocations: 0.5014 MB / 1.185 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.7214, allocations: 16.56 kB / 1.185 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006222/0.722, allocations: 496.1 kB / 1.185 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 1.953e-06/0.722, allocations: 0 / 1.185 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.00166/0.7237, allocations: 1.157 MB / 1.186 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.7237, allocations: 60.06 kB / 1.186 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.7243, allocations: 0.5745 MB / 1.187 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.7243, allocations: 41.7 kB / 1.187 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.7246, allocations: 459.6 kB / 1.187 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.7248, allocations: 264.1 kB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.725, allocations: 130.6 kB / 1.188 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7251, allocations: 386.8 kB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.7256, allocations: 337.8 kB / 1.188 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.7261, allocations: 444.8 kB / 1.189 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.7271, allocations: 0.8311 MB / 1.19 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7271, allocations: 3.938 kB / 1.19 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001194/0.7283, allocations: 0.9257 MB / 1.191 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7283, allocations: 4.344 kB / 1.191 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7283, allocations: 11.94 kB / 1.191 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7283, allocations: 8 kB / 1.191 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.7289, allocations: 147.8 kB / 1.191 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.729, allocations: 11.98 kB / 1.191 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.7296, allocations: 59.28 kB / 1.191 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.7297, allocations: 28 kB / 1.191 GB, free: 9.219 MB / 0.9512 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.0003425/0.73, allocations: 335.5 kB / 1.191 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.7301, allocations: 79.06 kB / 1.191 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.7303, allocations: 111.7 kB / 1.191 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7303, allocations: 11.94 kB / 1.191 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7303, allocations: 3.984 kB / 1.191 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.7315, allocations: 1.089 MB / 1.192 GB, free: 7.496 MB / 0.9512 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.002608/0.7341, allocations: 2.308 MB / 1.195 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7341, allocations: 4.031 kB / 1.195 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.7349, allocations: 171.8 kB / 1.195 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.7349, allocations: 4 kB / 1.195 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.7349, allocations: 19.98 kB / 1.195 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7349, allocations: 4 kB / 1.195 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7349, allocations: 0 / 1.195 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.7365, allocations: 1.354 MB / 1.196 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.7369, allocations: 256 kB / 1.196 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.737, allocations: 19.98 kB / 1.196 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.7375, allocations: 12.94 kB / 1.196 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.7376, allocations: 44.59 kB / 1.197 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.7377, allocations: 32.11 kB / 1.197 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003943/0.7381, allocations: 415 kB / 1.197 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7381, allocations: 0 / 1.197 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006929/0.7388, allocations: 378.9 kB / 1.197 GB, free: 2.379 MB / 0.9512 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.001937/0.7407, allocations: 1.97 MB / 1.199 GB, free: 384 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.7423, allocations: 1.028 MB / 1.2 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7423, allocations: 4.688 kB / 1.2 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.7428, allocations: 431.5 kB / 1.201 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.7451, allocations: 0.59 MB / 1.201 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.7532, allocations: 7.479 MB / 1.209 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7538, allocations: 1.139 MB / 1.21 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.7547, allocations: 271.2 kB / 1.21 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.7551, allocations: 379.3 kB / 1.21 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.7551, allocations: 0 / 1.21 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.967/3.722, allocations: 25.73 MB / 1.235 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/14.07, allocations: 7.406 kB / 1.235 GB, free: 11.46 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)