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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001679/0.001679, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 288 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.896/0.896, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 94.58 kB / 0.5946 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4299/0.5644, allocations: 201.9 MB / 0.8767 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008497/0.5729, allocations: 6.443 MB / 0.883 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.5736, allocations: 31.59 kB / 0.8831 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.5751, allocations: 0.6411 MB / 0.8837 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.5798, allocations: 2.523 MB / 0.8861 GB, free: 15.51 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.001265/0.581, allocations: 0.6449 MB / 0.8868 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.5846, allocations: 4.84 MB / 0.8915 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.5856, allocations: 0.9575 MB / 0.8924 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.5869, allocations: 1.078 MB / 0.8935 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.5885, allocations: 1.151 MB / 0.8946 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.5887, allocations: 70.28 kB / 0.8947 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5925, allocations: 2.727 MB / 0.8973 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.593, allocations: 474.6 kB / 0.8978 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/0.5936, allocations: 0.6844 MB / 0.8985 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.5966, allocations: 2.886 MB / 0.9013 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5966, allocations: 4 kB / 0.9013 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.5966, allocations: 0 / 0.9013 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5966, allocations: 0 / 0.9013 GB, free: 4.832 MB / 0.6075 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.003558/0.6002, allocations: 1.766 MB / 0.903 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.6002, allocations: 12.03 kB / 0.903 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.6004, allocations: 165.5 kB / 0.9032 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.6026, allocations: 346.2 kB / 0.9035 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.6038, allocations: 0.8427 MB / 0.9043 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.6038, allocations: 78 kB / 0.9044 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.604, allocations: 100 kB / 0.9045 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.6058, allocations: 1.191 MB / 0.9057 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6058, allocations: 0 / 0.9057 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.6059, allocations: 44 kB / 0.9057 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.606, allocations: 62.08 kB / 0.9058 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.6077, allocations: 1.25 MB / 0.907 GB, free: 14.84 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.005429/0.6132, allocations: 5.075 MB / 0.9119 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6146, allocations: 1.158 MB / 0.9131 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.6152, allocations: 0.5081 MB / 0.9136 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.6153, allocations: 12.66 kB / 0.9136 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/0.616, allocations: 484.2 kB / 0.914 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 1.843e-06/0.616, allocations: 0 / 0.914 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001792/0.6178, allocations: 1.165 MB / 0.9152 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.6178, allocations: 64.06 kB / 0.9152 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.6184, allocations: 0.5744 MB / 0.9158 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.6185, allocations: 37.7 kB / 0.9158 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.6187, allocations: 463.6 kB / 0.9163 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6189, allocations: 264.2 kB / 0.9165 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.6191, allocations: 138.7 kB / 0.9167 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6193, allocations: 378.8 kB / 0.917 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.6197, allocations: 329.8 kB / 0.9173 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.6203, allocations: 452.8 kB / 0.9178 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.6213, allocations: 0.8271 MB / 0.9186 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6214, allocations: 0 / 0.9186 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001261/0.6226, allocations: 0.9296 MB / 0.9195 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6226, allocations: 10.66 kB / 0.9195 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6227, allocations: 6.469 kB / 0.9195 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6227, allocations: 15.94 kB / 0.9195 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.6233, allocations: 155.7 kB / 0.9197 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6233, allocations: 8 kB / 0.9197 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.6242, allocations: 155.2 kB / 0.9198 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.6243, allocations: 31.94 kB / 0.9199 GB, free: 0.9727 MB / 0.6231 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.000364/0.6247, allocations: 325.9 kB / 0.9202 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.6248, allocations: 83.06 kB / 0.9202 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.625, allocations: 115.7 kB / 0.9204 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.625, allocations: 15.92 kB / 0.9204 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.625, allocations: 0 / 0.9204 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.6262, allocations: 1.089 MB / 0.9214 GB, free: 15.25 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.002933/0.6291, allocations: 2.312 MB / 0.9237 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6292, allocations: 3.984 kB / 0.9237 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/0.63, allocations: 167.8 kB / 0.9239 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.63, allocations: 7.984 kB / 0.9239 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.6301, allocations: 20 kB / 0.9239 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6301, allocations: 4.031 kB / 0.9239 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6301, allocations: 4 kB / 0.9239 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.6318, allocations: 1.35 MB / 0.9252 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.6321, allocations: 248.1 kB / 0.9254 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6322, allocations: 16.12 kB / 0.9255 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.633, allocations: 107.1 kB / 0.9256 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.6331, allocations: 48.53 kB / 0.9256 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.6332, allocations: 28 kB / 0.9256 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004274/0.6336, allocations: 415 kB / 0.926 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6336, allocations: 0 / 0.926 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007441/0.6344, allocations: 371 kB / 0.9264 GB, free: 10.06 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.002051/0.6364, allocations: 1.973 MB / 0.9283 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.6375, allocations: 0.7981 MB / 0.9291 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6375, allocations: 0 / 0.9291 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.638, allocations: 431.5 kB / 0.9295 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.6404, allocations: 0.5573 MB / 0.93 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009529/0.6499, allocations: 7.905 MB / 0.9378 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.6506, allocations: 1.136 MB / 0.9389 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009132/0.6515, allocations: 283.1 kB / 0.9391 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.652, allocations: 379.3 kB / 0.9395 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.652, allocations: 0 / 0.9395 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5281/1.18, allocations: 24.77 MB / 0.9637 GB, free: 3.977 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.18, allocations: 211.1 kB / 0.9639 GB, free: 3.715 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.44, allocations: 0 / 0.9639 GB, free: 3.715 MB / 0.67 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)