Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.00126/0.00126, 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.001208/0.001209, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4006, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9801/1.381, allocations: 201.6 MB / 1.249 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009299/1.39, allocations: 6.335 MB / 1.255 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/1.391, allocations: 36.19 kB / 1.255 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/1.393, allocations: 0.6603 MB / 1.256 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/1.399, allocations: 2.513 MB / 1.259 GB, free: 2.371 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001649/1.401, allocations: 0.6451 MB / 1.259 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003729/1.405, allocations: 3.274 MB / 1.262 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.406, allocations: 1.125 MB / 1.263 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/1.408, allocations: 1.256 MB / 1.265 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/1.41, allocations: 1.17 MB / 1.266 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/1.411, allocations: 129.1 kB / 1.266 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005841/1.416, allocations: 2.47 MB / 1.268 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008281/1.417, allocations: 0.5151 MB / 1.269 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/1.418, allocations: 0.7418 MB / 1.27 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006076/1.424, allocations: 2.938 MB / 1.272 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.424, allocations: 0.7812 kB / 1.272 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.356e-06/1.424, allocations: 0.5625 kB / 1.272 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.107e-05/1.425, allocations: 0.875 kB / 1.273 GB, free: 2.098 MB / 0.9981 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.005253/1.43, allocations: 1.766 MB / 1.274 GB, free: 17.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.43, allocations: 9.969 kB / 1.274 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000265/1.43, allocations: 165.6 kB / 1.274 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/1.433, allocations: 350 kB / 1.275 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/1.434, allocations: 0.8382 MB / 1.276 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/1.434, allocations: 76.53 kB / 1.276 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.434, allocations: 103.7 kB / 1.276 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/1.437, allocations: 1.191 MB / 1.277 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.437, allocations: 2.125 kB / 1.277 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.437, allocations: 41.58 kB / 1.277 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/1.437, allocations: 63.81 kB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/1.439, allocations: 1.245 MB / 1.278 GB, free: 16.75 MB / 1.014 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.006411/1.445, allocations: 5.077 MB / 1.283 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.447, allocations: 1.158 MB / 1.284 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/1.448, allocations: 0.5042 MB / 1.285 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/1.448, allocations: 14.95 kB / 1.285 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007343/1.448, allocations: 490.5 kB / 1.285 GB, free: 13.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 4.879e-06/1.448, allocations: 0.9375 kB / 1.285 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002043/1.45, allocations: 1.155 MB / 1.286 GB, free: 13.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.45, allocations: 62.12 kB / 1.286 GB, free: 13.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/1.451, allocations: 0.5713 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/1.451, allocations: 40.2 kB / 1.287 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/1.452, allocations: 469.4 kB / 1.287 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/1.452, allocations: 266.9 kB / 1.288 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/1.452, allocations: 127.1 kB / 1.288 GB, free: 13.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.452, allocations: 390 kB / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.453, allocations: 333.5 kB / 1.289 GB, free: 12.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/1.454, allocations: 446.7 kB / 1.289 GB, free: 12.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.455, allocations: 0.8267 MB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/1.455, allocations: 1.531 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001516/1.456, allocations: 0.9296 MB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.456, allocations: 8.156 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.456, allocations: 3 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.456, allocations: 5.812 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/1.457, allocations: 156.3 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.457, allocations: 7.375 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.458, allocations: 164.2 kB / 1.291 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/1.458, allocations: 28.19 kB / 1.291 GB, free: 12.42 MB / 1.014 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.0005713/1.459, allocations: 339.3 kB / 1.291 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.459, allocations: 80.31 kB / 1.291 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/1.459, allocations: 109.1 kB / 1.292 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.459, allocations: 7.969 kB / 1.292 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.459, allocations: 1.344 kB / 1.292 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.461, allocations: 1.089 MB / 1.293 GB, free: 11.79 MB / 1.014 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.003871/1.465, allocations: 2.307 MB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.465, allocations: 4.438 kB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/1.466, allocations: 173.7 kB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/1.466, allocations: 7.5 kB / 1.295 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/1.466, allocations: 16.41 kB / 1.295 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.466, allocations: 4.594 kB / 1.295 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.466, allocations: 0 / 1.295 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/1.468, allocations: 1.353 MB / 1.296 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/1.468, allocations: 255.3 kB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.468, allocations: 19.56 kB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.47, allocations: 104.5 kB / 1.297 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/1.47, allocations: 40.34 kB / 1.297 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/1.47, allocations: 28.12 kB / 1.297 GB, free: 10.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004603/1.47, allocations: 414.3 kB / 1.297 GB, free: 10.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.162e-06/1.47, allocations: 3.875 kB / 1.297 GB, free: 10.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001277/1.471, allocations: 368.2 kB / 1.298 GB, free: 10.78 MB / 1.014 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.002305/1.474, allocations: 1.978 MB / 1.3 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001902/1.476, allocations: 1.031 MB / 1.301 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.476, allocations: 4.875 kB / 1.301 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.476, allocations: 423.5 kB / 1.301 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.479, allocations: 0.5965 MB / 1.302 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.49, allocations: 7.89 MB / 1.309 GB, free: 7.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008477/1.491, allocations: 1.142 MB / 1.31 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001188/1.492, allocations: 272 kB / 1.311 GB, free: 6.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/1.493, allocations: 385 kB / 1.311 GB, free: 6.246 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.493, allocations: 0 / 1.311 GB, free: 6.246 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/1.543, allocations: 25.54 MB / 1.336 GB, free: 320 kB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.543, allocations: 194.3 kB / 1.336 GB, free: 60 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/4.195, allocations: 2.469 kB / 1.336 GB, free: 60 kB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)