Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001011/0.001011, allocations: 98.03 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.00586/0.005861, allocations: 168.6 kB / 16.26 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.583/1.583, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001607/0.001607, allocations: 274.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8995/0.8995, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 14.38 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4922/0.6488, allocations: 199.2 MB / 0.8798 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009672/0.6585, allocations: 6.381 MB / 0.886 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.6597, allocations: 30.62 kB / 0.8861 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.6615, allocations: 0.6447 MB / 0.8867 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.667, allocations: 2.516 MB / 0.8891 GB, free: 14.49 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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.001483/0.6685, allocations: 0.6398 MB / 0.8898 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004657/0.6731, allocations: 4.831 MB / 0.8945 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.6745, allocations: 0.9202 MB / 0.8954 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.6765, allocations: 1.043 MB / 0.8964 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.6786, allocations: 1.097 MB / 0.8975 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.6788, allocations: 56 kB / 0.8975 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.6836, allocations: 2.712 MB / 0.9002 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.6842, allocations: 446.7 kB / 0.9006 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.6851, allocations: 0.6743 MB / 0.9013 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.6893, allocations: 2.847 MB / 0.904 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6893, allocations: 4 kB / 0.904 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6893, allocations: 0 / 0.904 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.6894, allocations: 0 / 0.904 GB, free: 15.73 MB / 0.6231 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.003725/0.6931, allocations: 1.526 MB / 0.9055 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.6931, allocations: 8.031 kB / 0.9055 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.6934, allocations: 164.6 kB / 0.9057 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.6955, allocations: 350.2 kB / 0.906 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.6967, allocations: 0.8388 MB / 0.9069 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.6968, allocations: 78.02 kB / 0.9069 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.697, allocations: 104 kB / 0.907 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.6988, allocations: 1.199 MB / 0.9082 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.6989, allocations: 0 / 0.9082 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.699, allocations: 43.98 kB / 0.9082 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/0.6991, allocations: 62.06 kB / 0.9083 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.701, allocations: 1.242 MB / 0.9095 GB, free: 9.988 MB / 0.6231 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.006022/0.707, allocations: 5.071 MB / 0.9145 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.7085, allocations: 1.169 MB / 0.9156 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.7092, allocations: 0.5007 MB / 0.9161 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.7093, allocations: 12.8 kB / 0.9161 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.71, allocations: 496.2 kB / 0.9166 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.325e-06/0.71, allocations: 0 / 0.9166 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001942/0.7119, allocations: 1.157 MB / 0.9177 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.712, allocations: 60.06 kB / 0.9178 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.7127, allocations: 0.5821 MB / 0.9183 GB, free: 380 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.7128, allocations: 41.7 kB / 0.9184 GB, free: 332 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.7131, allocations: 467.7 kB / 0.9188 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.7134, allocations: 272 kB / 0.9191 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.7135, allocations: 65.69 kB / 0.9191 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7137, allocations: 382.8 kB / 0.9195 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.7142, allocations: 333.8 kB / 0.9198 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.7148, allocations: 448.8 kB / 0.9203 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.7158, allocations: 0.8233 MB / 0.9211 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7158, allocations: 0 / 0.9211 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001344/0.7172, allocations: 0.9335 MB / 0.922 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7172, allocations: 8 kB / 0.922 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7172, allocations: 0 / 0.922 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.7173, allocations: 11.94 kB / 0.922 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.7179, allocations: 147.8 kB / 0.9221 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.7179, allocations: 11.94 kB / 0.9221 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.719, allocations: 163.5 kB / 0.9223 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.719, allocations: 28 kB / 0.9223 GB, free: 12.17 MB / 0.6387 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.0004947/0.7195, allocations: 325.9 kB / 0.9226 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.7197, allocations: 87.06 kB / 0.9227 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.7199, allocations: 103.8 kB / 0.9228 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.7199, allocations: 11.94 kB / 0.9228 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7199, allocations: 0 / 0.9228 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/0.7212, allocations: 1.093 MB / 0.9239 GB, free: 10.46 MB / 0.6387 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.003395/0.7246, allocations: 2.312 MB / 0.9262 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7247, allocations: 0 / 0.9262 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.7255, allocations: 171.8 kB / 0.9263 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7255, allocations: 4 kB / 0.9263 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.7256, allocations: 23.98 kB / 0.9263 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.7256, allocations: 4 kB / 0.9263 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7256, allocations: 0 / 0.9263 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.7275, allocations: 1.358 MB / 0.9277 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.728, allocations: 248 kB / 0.9279 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.7281, allocations: 19.98 kB / 0.9279 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.729, allocations: 99.28 kB / 0.928 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.7291, allocations: 40.59 kB / 0.9281 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.7291, allocations: 31.98 kB / 0.9281 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005338/0.7297, allocations: 407.1 kB / 0.9285 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7297, allocations: 4 kB / 0.9285 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009952/0.7307, allocations: 371 kB / 0.9288 GB, free: 5.273 MB / 0.6387 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.002356/0.733, allocations: 1.978 MB / 0.9308 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7343, allocations: 0.7947 MB / 0.9315 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7343, allocations: 12.06 kB / 0.9316 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.7349, allocations: 423.5 kB / 0.932 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.7379, allocations: 0.5662 MB / 0.9325 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.7489, allocations: 8.018 MB / 0.9403 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.7497, allocations: 1.14 MB / 0.9415 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001091/0.7508, allocations: 271.2 kB / 0.9417 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.7513, allocations: 379.3 kB / 0.9421 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of SimCode: time 7.32e-07/0.7513, allocations: 0 / 0.9421 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.7903, allocations: 24.57 MB / 0.9661 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.7905, allocations: 208.8 kB / 0.9663 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.036, allocations: 0 / 0.9663 GB, free: 15.03 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)