Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 190.8 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.365/2.365, allocations: 205.4 MB / 0.5764 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 92.5 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006373, allocations: 12.28 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2004, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.178/7.378, allocations: 2.194 GB / 3.093 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/7.379, allocations: 92.44 kB / 3.093 GB, free: 247.2 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.582/9.96, allocations: 0.5904 GB / 3.683 GB, free: 81.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.036e-06/9.96, allocations: 3.938 kB / 3.683 GB, free: 81.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001098/9.96, allocations: 28 kB / 3.683 GB, free: 81.64 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007525/9.968, allocations: 1.683 MB / 3.685 GB, free: 79.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/9.968, allocations: 12.02 kB / 3.685 GB, free: 79.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007103/9.969, allocations: 168.7 kB / 3.685 GB, free: 79.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/9.972, allocations: 338.2 kB / 3.685 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/9.975, allocations: 0.8549 MB / 3.686 GB, free: 78.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/9.975, allocations: 78.05 kB / 3.686 GB, free: 78.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/9.976, allocations: 111.9 kB / 3.686 GB, free: 78.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/9.979, allocations: 1.121 MB / 3.688 GB, free: 77.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/9.979, allocations: 3.984 kB / 3.688 GB, free: 77.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/9.979, allocations: 47.98 kB / 3.688 GB, free: 77.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/9.979, allocations: 58.11 kB / 3.688 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/9.983, allocations: 1.179 MB / 3.689 GB, free: 75.84 MB / 0.8855 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.0104/9.993, allocations: 5.064 MB / 3.694 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/9.995, allocations: 0.9536 MB / 3.695 GB, free: 69.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/9.995, allocations: 20.78 kB / 3.695 GB, free: 69.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/9.997, allocations: 0.4884 MB / 3.695 GB, free: 68.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 5.53e-06/9.997, allocations: 0 / 3.695 GB, free: 68.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.003039/10, allocations: 1.165 MB / 3.696 GB, free: 67.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/10, allocations: 56.06 kB / 3.696 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/10, allocations: 0.515 MB / 3.697 GB, free: 67.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/10, allocations: 37.7 kB / 3.697 GB, free: 67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/10, allocations: 467.6 kB / 3.697 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/10, allocations: 268.1 kB / 3.698 GB, free: 66.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/10, allocations: 16 kB / 3.698 GB, free: 66.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001289/10, allocations: 378.8 kB / 3.698 GB, free: 65.88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/10, allocations: 333.8 kB / 3.698 GB, free: 65.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/10, allocations: 458.5 kB / 3.699 GB, free: 65.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/10, allocations: 407.1 kB / 3.699 GB, free: 64.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/10, allocations: 0 / 3.699 GB, free: 64.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002186/10.01, allocations: 0.9375 MB / 3.7 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/10.01, allocations: 8 kB / 3.7 GB, free: 63.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/10.01, allocations: 4 kB / 3.7 GB, free: 63.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/10.01, allocations: 4 kB / 3.7 GB, free: 63.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/10.01, allocations: 155.8 kB / 3.7 GB, free: 63.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/10.01, allocations: 7.938 kB / 3.7 GB, free: 63.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/10.01, allocations: 143.3 kB / 3.7 GB, free: 63.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/10.01, allocations: 28 kB / 3.7 GB, free: 63.37 MB / 0.8855 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.0008236/10.01, allocations: 337.6 kB / 3.701 GB, free: 63.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/10.01, allocations: 79.11 kB / 3.701 GB, free: 62.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/10.01, allocations: 115.7 kB / 3.701 GB, free: 62.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/10.01, allocations: 7.938 kB / 3.701 GB, free: 62.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/10.01, allocations: 4 kB / 3.701 GB, free: 62.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001824/10.01, allocations: 1.089 MB / 3.702 GB, free: 61.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/10.02, allocations: 2.168 MB / 3.704 GB, free: 59.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/10.02, allocations: 0 / 3.704 GB, free: 59.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/10.02, allocations: 175.8 kB / 3.704 GB, free: 59.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/10.02, allocations: 4 kB / 3.704 GB, free: 59.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/10.02, allocations: 16 kB / 3.704 GB, free: 59.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/10.02, allocations: 4 kB / 3.704 GB, free: 59.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/10.02, allocations: 3.984 kB / 3.704 GB, free: 59.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/10.02, allocations: 1.512 MB / 3.706 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/10.02, allocations: 264 kB / 3.706 GB, free: 57.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/10.03, allocations: 16 kB / 3.706 GB, free: 57.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/10.03, allocations: 95.81 kB / 3.706 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/10.03, allocations: 44.59 kB / 3.706 GB, free: 57.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/10.03, allocations: 27.98 kB / 3.706 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001117/10.03, allocations: 419 kB / 3.707 GB, free: 56.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.273e-06/10.03, allocations: 0 / 3.707 GB, free: 56.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003089/10.03, allocations: 0.5147 MB / 3.707 GB, free: 56.3 MB / 0.8855 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 (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.009027/10.04, allocations: 3.63 MB / 3.711 GB, free: 52.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003131/10.04, allocations: 0.8097 MB / 3.711 GB, free: 51.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/10.04, allocations: 0.6875 kB / 3.711 GB, free: 51.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/10.05, allocations: 435.4 kB / 3.712 GB, free: 51.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007522/10.05, allocations: 0.5513 MB / 3.712 GB, free: 50.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/10.07, allocations: 7.504 MB / 3.72 GB, free: 43.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/10.08, allocations: 1.163 MB / 3.721 GB, free: 41.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003121/10.08, allocations: 271.1 kB / 3.721 GB, free: 41.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/10.08, allocations: 379.3 kB / 3.721 GB, free: 41.35 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/10.08, allocations: 0 / 3.721 GB, free: 41.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.744/10.82, allocations: 50.97 MB / 3.771 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/10.82, allocations: 180.8 kB / 3.771 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.498/15.32, allocations: 0.7656 kB / 3.771 GB, free: 176.4 MB / 0.8855 GB