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.00515/0.005149, allocations: 104 kB / 15.73 MB, free: 6.051 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.001095/0.001095, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9422/0.9437, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2542/1.198, allocations: 204.2 MB / 1.287 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01052/1.208, allocations: 6.376 MB / 1.293 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/1.21, allocations: 35.81 kB / 1.293 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/1.212, allocations: 0.7226 MB / 1.294 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007291/1.22, allocations: 2.68 MB / 1.296 GB, free: 7.668 MB / 1.029 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.002047/1.222, allocations: 0.7167 MB / 1.297 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004378/1.226, allocations: 3.27 MB / 1.3 GB, free: 3.672 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/1.228, allocations: 1.16 MB / 1.301 GB, free: 2.492 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/1.231, allocations: 1.238 MB / 1.303 GB, free: 1.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.234, allocations: 1.101 MB / 1.304 GB, free: 156 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004208/1.234, allocations: 132 kB / 1.304 GB, free: 24 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/1.239, allocations: 2.358 MB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.24, allocations: 0.5103 MB / 1.307 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/1.242, allocations: 0.7352 MB / 1.307 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006542/1.249, allocations: 2.801 MB / 1.31 GB, free: 9.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.249, allocations: 0 / 1.31 GB, free: 9.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/1.249, allocations: 4 kB / 1.31 GB, free: 9.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.165e-05/1.249, allocations: 0 / 1.31 GB, free: 9.598 MB / 1.045 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.005313/1.254, allocations: 1.765 MB / 1.312 GB, free: 7.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.254, allocations: 12.03 kB / 1.312 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/1.255, allocations: 168.5 kB / 1.312 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/1.257, allocations: 342.2 kB / 1.312 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.259, allocations: 0.874 MB / 1.313 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/1.259, allocations: 82 kB / 1.313 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/1.26, allocations: 99.94 kB / 1.313 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/1.262, allocations: 1.195 MB / 1.315 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/1.262, allocations: 4 kB / 1.315 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.262, allocations: 40 kB / 1.315 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/1.262, allocations: 58.08 kB / 1.315 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.264, allocations: 1.246 MB / 1.316 GB, free: 3.574 MB / 1.045 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.007346/1.271, allocations: 5.11 MB / 1.321 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.273, allocations: 1.155 MB / 1.322 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/1.274, allocations: 0.505 MB / 1.322 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/1.274, allocations: 16.64 kB / 1.322 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007339/1.274, allocations: 488.2 kB / 1.323 GB, free: 11.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.527e-06/1.274, allocations: 4 kB / 1.323 GB, free: 11.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.002039/1.276, allocations: 1.157 MB / 1.324 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.277, allocations: 60.06 kB / 1.324 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/1.277, allocations: 0.5706 MB / 1.325 GB, free: 9.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/1.277, allocations: 41.7 kB / 1.325 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/1.278, allocations: 467.7 kB / 1.325 GB, free: 9.426 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/1.278, allocations: 272 kB / 1.325 GB, free: 9.156 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.278, allocations: 134.6 kB / 1.326 GB, free: 9.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.278, allocations: 386.8 kB / 1.326 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/1.279, allocations: 329.8 kB / 1.326 GB, free: 8.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/1.279, allocations: 444.8 kB / 1.327 GB, free: 7.832 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.281, allocations: 0.8272 MB / 1.327 GB, free: 6.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.281, allocations: 0 / 1.327 GB, free: 6.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001459/1.282, allocations: 0.9337 MB / 1.328 GB, free: 6.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.282, allocations: 11.94 kB / 1.328 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.282, allocations: 0 / 1.328 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.282, allocations: 8 kB / 1.328 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/1.283, allocations: 147.8 kB / 1.329 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.283, allocations: 11.94 kB / 1.329 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/1.284, allocations: 63.36 kB / 1.329 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/1.284, allocations: 24 kB / 1.329 GB, free: 5.77 MB / 1.061 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.000514/1.284, allocations: 333.8 kB / 1.329 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.284, allocations: 83 kB / 1.329 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/1.285, allocations: 103.8 kB / 1.329 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.285, allocations: 11.94 kB / 1.329 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.285, allocations: 0 / 1.329 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/1.286, allocations: 1.101 MB / 1.33 GB, free: 4.043 MB / 1.061 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.003297/1.289, allocations: 2.299 MB / 1.332 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.289, allocations: 8.031 kB / 1.332 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000844/1.29, allocations: 175.8 kB / 1.333 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/1.29, allocations: 4 kB / 1.333 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/1.29, allocations: 15.98 kB / 1.333 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/1.29, allocations: 4 kB / 1.333 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.29, allocations: 3.938 kB / 1.333 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.292, allocations: 1.359 MB / 1.334 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/1.293, allocations: 244.1 kB / 1.334 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.293, allocations: 20 kB / 1.334 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/1.294, allocations: 21.2 kB / 1.334 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/1.294, allocations: 48.59 kB / 1.334 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/1.294, allocations: 23.98 kB / 1.334 GB, free: 15.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005938/1.294, allocations: 415 kB / 1.335 GB, free: 15.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 4 kB / 1.335 GB, free: 15.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001103/1.295, allocations: 367.1 kB / 1.335 GB, free: 14.93 MB / 1.076 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.00229/1.298, allocations: 1.973 MB / 1.337 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001196/1.299, allocations: 0.8025 MB / 1.338 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.299, allocations: 4 kB / 1.338 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/1.3, allocations: 431.6 kB / 1.338 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.302, allocations: 0.5749 MB / 1.339 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.313, allocations: 7.26 MB / 1.346 GB, free: 3.719 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/1.314, allocations: 1.136 MB / 1.347 GB, free: 2.555 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009555/1.315, allocations: 275.1 kB / 1.347 GB, free: 2.281 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/1.316, allocations: 379.3 kB / 1.348 GB, free: 1.914 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/1.316, allocations: 0 / 1.348 GB, free: 1.914 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.291/1.607, allocations: 25.91 MB / 1.373 GB, free: 8.336 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.925/10.53, allocations: 18.31 kB / 1.373 GB, free: 8.32 MB / 1.107 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)