Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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.000806/0.0008061, allocations: 98.11 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.004629/0.004629, allocations: 172.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.485/1.485, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 15.56 kB / 0.6744 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5005/0.6767, allocations: 199.2 MB / 0.9826 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009003/0.6857, allocations: 6.323 MB / 0.9887 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.6868, allocations: 24.22 kB / 0.9887 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6882, allocations: 0.6414 MB / 0.9894 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.6933, allocations: 2.521 MB / 0.9918 GB, free: 11.3 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.001284/0.6946, allocations: 0.6253 MB / 0.9924 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003651/0.6983, allocations: 4.792 MB / 0.9971 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008992/0.6992, allocations: 0.9179 MB / 0.998 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.7004, allocations: 1.04 MB / 0.999 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.7019, allocations: 1.102 MB / 1 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.374e-05/0.702, allocations: 55.47 kB / 1 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.7054, allocations: 2.71 MB / 1.003 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.7057, allocations: 438.5 kB / 1.003 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005508/0.7063, allocations: 0.6771 MB / 1.004 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.7088, allocations: 2.845 MB / 1.007 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7089, allocations: 4 kB / 1.007 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7089, allocations: 2.156 kB / 1.007 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.7089, allocations: 0 / 1.007 GB, free: 3.832 MB / 0.7325 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.00301/0.7119, allocations: 1.513 MB / 1.008 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.7119, allocations: 10.47 kB / 1.008 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7121, allocations: 159.5 kB / 1.008 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.714, allocations: 351.1 kB / 1.009 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.7151, allocations: 0.8348 MB / 1.009 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.7151, allocations: 79.17 kB / 1.01 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7153, allocations: 101.5 kB / 1.01 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7168, allocations: 1.186 MB / 1.011 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.7168, allocations: 0 / 1.011 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.7169, allocations: 45.41 kB / 1.011 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.639e-05/0.717, allocations: 60.56 kB / 1.011 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.7186, allocations: 1.24 MB / 1.012 GB, free: 400 kB / 0.7325 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.004932/0.7235, allocations: 5.058 MB / 1.017 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.7247, allocations: 1.146 MB / 1.018 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.7253, allocations: 0.5089 MB / 1.019 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.7254, allocations: 21.73 kB / 1.019 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006006/0.726, allocations: 482.9 kB / 1.019 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/0.726, allocations: 0 / 1.019 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.00159/0.7276, allocations: 1.157 MB / 1.02 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.7276, allocations: 64.12 kB / 1.02 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.7282, allocations: 0.5645 MB / 1.021 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/0.7282, allocations: 47.14 kB / 1.021 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.7285, allocations: 460.8 kB / 1.021 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.7287, allocations: 267.4 kB / 1.022 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.7288, allocations: 66.44 kB / 1.022 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7289, allocations: 379.7 kB / 1.022 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.7293, allocations: 333.9 kB / 1.022 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.7298, allocations: 454.3 kB / 1.023 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.7308, allocations: 0.8259 MB / 1.024 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7308, allocations: 0 / 1.024 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001121/0.7319, allocations: 0.9245 MB / 1.025 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7319, allocations: 5.969 kB / 1.025 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7319, allocations: 4.938 kB / 1.025 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.732, allocations: 5.688 kB / 1.025 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.7325, allocations: 164.9 kB / 1.025 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7326, allocations: 13.98 kB / 1.025 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.7334, allocations: 132.7 kB / 1.025 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.7335, allocations: 29.7 kB / 1.025 GB, free: 7.074 MB / 0.7481 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.0003701/0.7339, allocations: 325.7 kB / 1.025 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.734, allocations: 80.41 kB / 1.025 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.7342, allocations: 113.4 kB / 1.025 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7342, allocations: 9.688 kB / 1.025 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7342, allocations: 0 / 1.025 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.7353, allocations: 1.087 MB / 1.026 GB, free: 5.898 MB / 0.7481 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.00265/0.7379, allocations: 2.308 MB / 1.029 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.738, allocations: 7.984 kB / 1.029 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/0.7387, allocations: 175.3 kB / 1.029 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.7387, allocations: 7.125 kB / 1.029 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.7388, allocations: 14.19 kB / 1.029 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.7388, allocations: 6.438 kB / 1.029 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7388, allocations: 2.156 kB / 1.029 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.7404, allocations: 1.482 MB / 1.03 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.7407, allocations: 251.5 kB / 1.031 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.7408, allocations: 18.06 kB / 1.031 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.7415, allocations: 103 kB / 1.031 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.7416, allocations: 46.66 kB / 1.031 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.7416, allocations: 24.7 kB / 1.031 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003742/0.742, allocations: 405.8 kB / 1.031 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.742, allocations: 3.938 kB / 1.031 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007208/0.7428, allocations: 365.9 kB / 1.031 GB, free: 2.793 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.001926/0.7447, allocations: 2.109 MB / 1.034 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.7457, allocations: 0.8003 MB / 1.034 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7457, allocations: 0 / 1.034 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.7462, allocations: 431.5 kB / 1.035 GB, free: 244 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.7487, allocations: 0.5644 MB / 1.035 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008785/0.7575, allocations: 7.943 MB / 1.043 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.7581, allocations: 1.136 MB / 1.044 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008828/0.759, allocations: 267.1 kB / 1.044 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.7595, allocations: 379.3 kB / 1.045 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of SimCode: time 4.91e-07/0.7595, allocations: 0 / 1.045 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.7943, allocations: 24.55 MB / 1.069 GB, free: 13.57 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.7945, allocations: 197.8 kB / 1.069 GB, free: 13.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.823, allocations: 0 / 1.069 GB, free: 13.3 MB / 0.795 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)