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.001561/0.001561, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002112/0.002112, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 4.518/4.518, allocations: 390.2 MB / 0.6644 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.002, allocations: 67.91 kB / 0.8122 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407/1.409, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4084/1.818, allocations: 201.6 MB / 1.146 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01938/1.837, allocations: 6.335 MB / 1.152 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/1.84, allocations: 31.81 kB / 1.152 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003515/1.844, allocations: 0.6611 MB / 1.153 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.856, allocations: 2.525 MB / 1.155 GB, free: 14.24 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.003613/1.86, allocations: 0.6427 MB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008241/1.868, allocations: 3.282 MB / 1.159 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/1.872, allocations: 1.109 MB / 1.16 GB, free: 9.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/1.877, allocations: 1.253 MB / 1.162 GB, free: 7.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005696/1.883, allocations: 1.18 MB / 1.163 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/1.884, allocations: 132 kB / 1.163 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/1.894, allocations: 2.466 MB / 1.165 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002025/1.896, allocations: 0.5104 MB / 1.166 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003546/1.9, allocations: 0.7391 MB / 1.166 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/1.912, allocations: 2.941 MB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.485e-05/1.913, allocations: 0 / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.677e-06/1.913, allocations: 0 / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001294/1.913, allocations: 0 / 1.169 GB, free: 15.94 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.01036/1.923, allocations: 1.774 MB / 1.171 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 9.674e-05/1.923, allocations: 8.031 kB / 1.171 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008519/1.924, allocations: 164.6 kB / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/1.929, allocations: 350.1 kB / 1.172 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/1.933, allocations: 0.8312 MB / 1.172 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.933, allocations: 82 kB / 1.172 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/1.934, allocations: 99.91 kB / 1.173 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/1.939, allocations: 1.191 MB / 1.174 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/1.939, allocations: 4 kB / 1.174 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/1.939, allocations: 43.98 kB / 1.174 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/1.939, allocations: 62.02 kB / 1.174 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/1.944, allocations: 1.25 MB / 1.175 GB, free: 9.938 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.01421/1.958, allocations: 5.067 MB / 1.18 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.961, allocations: 1.156 MB / 1.181 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/1.962, allocations: 0.4973 MB / 1.182 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.962, allocations: 20.8 kB / 1.182 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/1.963, allocations: 492.1 kB / 1.182 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 5.33e-06/1.963, allocations: 4 kB / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.003627/1.967, allocations: 1.157 MB / 1.183 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/1.967, allocations: 64.06 kB / 1.183 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.969, allocations: 0.5706 MB / 1.184 GB, free: 348 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/1.969, allocations: 37.7 kB / 1.184 GB, free: 304 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/1.97, allocations: 463.8 kB / 1.184 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/1.97, allocations: 272.1 kB / 1.185 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/1.97, allocations: 134.6 kB / 1.185 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002712/1.971, allocations: 382.8 kB / 1.185 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/1.972, allocations: 333.8 kB / 1.185 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/1.973, allocations: 452.7 kB / 1.186 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.975, allocations: 0.8194 MB / 1.187 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.975, allocations: 0 / 1.187 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002785/1.978, allocations: 0.9298 MB / 1.188 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.978, allocations: 13.81 kB / 1.188 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.978, allocations: 7.938 kB / 1.188 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/1.978, allocations: 4 kB / 1.188 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.979, allocations: 159.8 kB / 1.188 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.2e-05/1.979, allocations: 4 kB / 1.188 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.982, allocations: 163.3 kB / 1.188 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.982, allocations: 27.94 kB / 1.188 GB, free: 12.07 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.001153/1.983, allocations: 333.5 kB / 1.188 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/1.984, allocations: 79.06 kB / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/1.984, allocations: 115.7 kB / 1.188 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.984, allocations: 11.98 kB / 1.188 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.984, allocations: 4 kB / 1.188 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/1.987, allocations: 1.089 MB / 1.189 GB, free: 10.34 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.006889/1.994, allocations: 2.301 MB / 1.192 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.994, allocations: 4 kB / 1.192 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.995, allocations: 175.8 kB / 1.192 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/1.995, allocations: 0 / 1.192 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.995, allocations: 23.98 kB / 1.192 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/1.995, allocations: 4 kB / 1.192 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.995, allocations: 0 / 1.192 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/2, allocations: 1.35 MB / 1.193 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/2.001, allocations: 256 kB / 1.193 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/2.001, allocations: 16 kB / 1.193 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/2.003, allocations: 103.8 kB / 1.194 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/2.003, allocations: 44.59 kB / 1.194 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/2.003, allocations: 20 kB / 1.194 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001101/2.004, allocations: 423 kB / 1.194 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.463e-06/2.004, allocations: 0 / 1.194 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001935/2.006, allocations: 363.1 kB / 1.194 GB, free: 5.168 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.004496/2.011, allocations: 1.981 MB / 1.196 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003773/2.014, allocations: 1.028 MB / 1.197 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.014, allocations: 0 / 1.197 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/2.015, allocations: 431.5 kB / 1.198 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005292/2.021, allocations: 0.5909 MB / 1.198 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/2.045, allocations: 7.903 MB / 1.206 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/2.047, allocations: 1.136 MB / 1.207 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002565/2.05, allocations: 271.2 kB / 1.207 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/2.051, allocations: 383.3 kB / 1.208 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of SimCode: time 2.094e-06/2.051, allocations: 0 / 1.208 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/2.175, allocations: 25.54 MB / 1.233 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000519/2.176, allocations: 198.7 kB / 1.233 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.891/7.067, allocations: 4 kB / 1.233 GB, free: 13.79 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)