Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_10_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.0008591/0.0008591, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005094/0.005094, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 11.98 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5225, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1753/0.6978, allocations: 199.3 MB / 1.218 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008496/0.7064, allocations: 6.391 MB / 1.224 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.7075, allocations: 31.81 kB / 1.224 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.7092, allocations: 0.6337 MB / 1.225 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.7145, allocations: 2.533 MB / 1.227 GB, free: 14.22 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.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.001361/0.7159, allocations: 0.6353 MB / 1.228 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.72, allocations: 4.842 MB / 1.232 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.721, allocations: 0.9008 MB / 1.233 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.7223, allocations: 1.046 MB / 1.234 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.7239, allocations: 1.102 MB / 1.235 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.724, allocations: 56 kB / 1.235 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.7276, allocations: 2.712 MB / 1.238 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.728, allocations: 434.7 kB / 1.239 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.7286, allocations: 0.6783 MB / 1.239 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.4719/1.2, allocations: 2.847 MB / 1.242 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.201, allocations: 2.156 kB / 1.242 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.365e-06/1.201, allocations: 0.8125 kB / 1.242 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.69e-05/1.201, allocations: 0 / 1.242 GB, free: 11.71 MB / 0.9825 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.003824/1.204, allocations: 1.524 MB / 1.243 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.204, allocations: 9.062 kB / 1.243 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/1.205, allocations: 163 kB / 1.244 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/1.207, allocations: 347.2 kB / 1.244 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.208, allocations: 0.8427 MB / 1.245 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/1.208, allocations: 75.97 kB / 1.245 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.208, allocations: 99.64 kB / 1.245 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/1.211, allocations: 1.192 MB / 1.246 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.211, allocations: 0.6094 kB / 1.246 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.211, allocations: 42.59 kB / 1.246 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-05/1.211, allocations: 64.69 kB / 1.246 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/1.213, allocations: 1.247 MB / 1.247 GB, free: 10.51 MB / 0.9825 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.00573/1.219, allocations: 5.081 MB / 1.252 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.22, allocations: 1.155 MB / 1.254 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/1.221, allocations: 0.5094 MB / 1.254 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/1.221, allocations: 16.84 kB / 1.254 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008432/1.221, allocations: 485.6 kB / 1.254 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.025e-06/1.221, allocations: 6.375 kB / 1.254 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.002231/1.224, allocations: 1.149 MB / 1.256 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.224, allocations: 64.69 kB / 1.256 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/1.225, allocations: 0.5716 MB / 1.256 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/1.225, allocations: 41.73 kB / 1.256 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/1.225, allocations: 466.3 kB / 1.257 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.225, allocations: 266.2 kB / 1.257 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/1.225, allocations: 66.5 kB / 1.257 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.225, allocations: 389.1 kB / 1.257 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.226, allocations: 329.3 kB / 1.258 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/1.226, allocations: 451.2 kB / 1.258 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.227, allocations: 0.8235 MB / 1.259 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.227, allocations: 1.125 kB / 1.259 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001277/1.229, allocations: 0.9321 MB / 1.26 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.229, allocations: 6.484 kB / 1.26 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.229, allocations: 3.25 kB / 1.26 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.229, allocations: 6.812 kB / 1.26 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.229, allocations: 158.8 kB / 1.26 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.229, allocations: 7.047 kB / 1.26 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.23, allocations: 151 kB / 1.26 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/1.23, allocations: 32.8 kB / 1.26 GB, free: 6.148 MB / 0.9825 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.0004669/1.231, allocations: 339 kB / 1.261 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.231, allocations: 80.89 kB / 1.261 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/1.231, allocations: 110.1 kB / 1.261 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.231, allocations: 7.281 kB / 1.261 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.231, allocations: 3.672 kB / 1.261 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.232, allocations: 1.088 MB / 1.262 GB, free: 5.52 MB / 0.9825 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.003035/1.235, allocations: 2.307 MB / 1.264 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.235, allocations: 1.062 kB / 1.264 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/1.236, allocations: 178.5 kB / 1.264 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.236, allocations: 2.375 kB / 1.264 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/1.236, allocations: 17.81 kB / 1.264 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.236, allocations: 9.719 kB / 1.264 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.236, allocations: 5.125 kB / 1.264 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/1.238, allocations: 1.35 MB / 1.266 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/1.238, allocations: 258.3 kB / 1.266 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/1.238, allocations: 14.97 kB / 1.266 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/1.239, allocations: 104.2 kB / 1.266 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/1.239, allocations: 51.91 kB / 1.266 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/1.239, allocations: 23.39 kB / 1.266 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004269/1.24, allocations: 413.7 kB / 1.266 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.31e-07/1.24, allocations: 0 / 1.266 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009151/1.241, allocations: 367.5 kB / 1.267 GB, free: 4.492 MB / 0.9825 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.002051/1.243, allocations: 1.965 MB / 1.269 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009998/1.244, allocations: 0.8018 MB / 1.269 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.244, allocations: 1.781 kB / 1.269 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004665/1.244, allocations: 425.4 kB / 1.27 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.247, allocations: 0.5673 MB / 1.27 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/1.255, allocations: 8.014 MB / 1.278 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/1.256, allocations: 1.136 MB / 1.279 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008901/1.257, allocations: 271.1 kB / 1.28 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/1.257, allocations: 376 kB / 1.28 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.257, allocations: 0 / 1.28 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/1.307, allocations: 24.55 MB / 1.304 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.307, allocations: 202 kB / 1.304 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.463, allocations: 0 / 1.304 GB, free: 12.91 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)