Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008274/0.0008276, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.037/1.037, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005506/0.0005508, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1824, allocations: 83.42 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5037/0.6862, allocations: 186 MB / 0.7792 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008798/0.695, allocations: 5.978 MB / 0.785 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.6961, allocations: 31.81 kB / 0.785 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.6975, allocations: 493.1 kB / 0.7855 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.7023, allocations: 1.941 MB / 0.7874 GB, free: 9.672 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/IBPSA/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.00131/0.7036, allocations: 0.4951 MB / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.7076, allocations: 4.015 MB / 0.7918 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7087, allocations: 0.8212 MB / 0.7926 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.7103, allocations: 1.058 MB / 0.7936 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.7116, allocations: 1.051 MB / 0.7947 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.7118, allocations: 56 kB / 0.7947 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.7145, allocations: 1.13 MB / 0.7958 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.715, allocations: 446.7 kB / 0.7963 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.7153, allocations: 289.1 kB / 0.7965 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.7172, allocations: 1.925 MB / 0.7984 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7172, allocations: 4 kB / 0.7984 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7173, allocations: 0 / 0.7984 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.7173, allocations: 0 / 0.7984 GB, free: 14.36 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.003309/0.7206, allocations: 1.535 MB / 0.7999 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7206, allocations: 8.031 kB / 0.7999 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.7208, allocations: 164.6 kB / 0.8001 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.723, allocations: 350.1 kB / 0.8004 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.7242, allocations: 0.8199 MB / 0.8012 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.7243, allocations: 74.52 kB / 0.8013 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.7244, allocations: 99.98 kB / 0.8014 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.7263, allocations: 1.183 MB / 0.8025 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7263, allocations: 0 / 0.8025 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7265, allocations: 43.95 kB / 0.8026 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.7265, allocations: 66.06 kB / 0.8026 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.7284, allocations: 1.238 MB / 0.8038 GB, free: 8.641 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.005704/0.7341, allocations: 5.088 MB / 0.8088 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7355, allocations: 1.144 MB / 0.8099 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.7362, allocations: 0.5051 MB / 0.8104 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.7363, allocations: 20.78 kB / 0.8104 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007161/0.737, allocations: 484.7 kB / 0.8109 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.425e-06/0.737, allocations: 0 / 0.8109 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001874/0.7389, allocations: 1.157 MB / 0.812 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.739, allocations: 60.06 kB / 0.8121 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.7396, allocations: 0.5667 MB / 0.8126 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.7397, allocations: 41.64 kB / 0.8127 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.74, allocations: 463.6 kB / 0.8131 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.7402, allocations: 264 kB / 0.8134 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.7403, allocations: 16 kB / 0.8134 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7404, allocations: 390.7 kB / 0.8138 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.7409, allocations: 325.8 kB / 0.8141 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.7415, allocations: 448.8 kB / 0.8145 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.742, allocations: 399 kB / 0.8149 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7421, allocations: 0 / 0.8149 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001314/0.7434, allocations: 0.9258 MB / 0.8158 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7434, allocations: 7.984 kB / 0.8158 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7434, allocations: 7.938 kB / 0.8158 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.7434, allocations: 4 kB / 0.8158 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7441, allocations: 155.8 kB / 0.816 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.7441, allocations: 7.938 kB / 0.816 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/0.745, allocations: 168 kB / 0.8161 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.7451, allocations: 24 kB / 0.8162 GB, free: 11.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004284/0.7455, allocations: 333.5 kB / 0.8165 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.7457, allocations: 79.06 kB / 0.8165 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.7459, allocations: 107.8 kB / 0.8166 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.7459, allocations: 12 kB / 0.8167 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.746, allocations: 0.6875 kB / 0.8167 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.7472, allocations: 1.093 MB / 0.8177 GB, free: 9.68 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.003067/0.7503, allocations: 2.305 MB / 0.82 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7503, allocations: 0 / 0.82 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.7511, allocations: 176.8 kB / 0.8201 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.7511, allocations: 4 kB / 0.8202 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.7512, allocations: 20 kB / 0.8202 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.7512, allocations: 3.953 kB / 0.8202 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7512, allocations: 4 kB / 0.8202 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.7529, allocations: 1.35 MB / 0.8215 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.7533, allocations: 255.9 kB / 0.8217 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7534, allocations: 17.06 kB / 0.8218 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/0.7542, allocations: 101.4 kB / 0.8219 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.7543, allocations: 44.55 kB / 0.8219 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.7543, allocations: 31.98 kB / 0.8219 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004349/0.7548, allocations: 403.1 kB / 0.8223 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7548, allocations: 0 / 0.8223 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008555/0.7556, allocations: 371 kB / 0.8227 GB, free: 4.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.7578, allocations: 1.973 MB / 0.8246 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7589, allocations: 0.7947 MB / 0.8254 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7589, allocations: 128 / 0.8254 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.7595, allocations: 427.5 kB / 0.8258 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7619, allocations: 0.5612 MB / 0.8263 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008142/0.77, allocations: 5.884 MB / 0.8321 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.7707, allocations: 1.14 MB / 0.8332 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001024/0.7718, allocations: 271.2 kB / 0.8334 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.7723, allocations: 381.9 kB / 0.8338 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.7723, allocations: 0 / 0.8338 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3634/1.136, allocations: 25.92 MB / 0.8591 GB, free: 203.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.136, allocations: 193.1 kB / 0.8593 GB, free: 203.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.747, allocations: 1.484 kB / 0.8593 GB, free: 203.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: