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.356/2.356, allocations: 248.5 MB / 261.1 MB, free: 6.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 182.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001129/0.001129, allocations: 93.23 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.944e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.096/7.301, allocations: 2.194 GB / 3.085 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/7.301, allocations: 84.33 kB / 3.085 GB, free: 140.3 MB / 0.8698 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 3.315/10.62, allocations: 0.5899 GB / 3.675 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/10.62, allocations: 3.609 kB / 3.675 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001219/10.62, allocations: 33.38 kB / 3.675 GB, free: 176.6 MB / 0.8698 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.006987/10.62, allocations: 1.548 MB / 3.676 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/10.62, allocations: 6.562 kB / 3.676 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/10.62, allocations: 165 kB / 3.676 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/10.63, allocations: 344.9 kB / 3.677 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/10.63, allocations: 0.8436 MB / 3.677 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/10.63, allocations: 86.55 kB / 3.677 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/10.63, allocations: 102.8 kB / 3.678 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/10.63, allocations: 1.113 MB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/10.63, allocations: 2.188 kB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/10.63, allocations: 37.88 kB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/10.63, allocations: 69.56 kB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/10.64, allocations: 1.153 MB / 3.68 GB, free: 175.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01018/10.65, allocations: 5.063 MB / 3.685 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/10.65, allocations: 0.9383 MB / 3.686 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/10.65, allocations: 0.496 MB / 3.686 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/10.65, allocations: 21.09 kB / 3.686 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/10.65, allocations: 486.9 kB / 3.687 GB, free: 172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.758e-06/10.65, allocations: 0 / 3.687 GB, free: 172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.00228/10.65, allocations: 0.8272 MB / 3.688 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/10.65, allocations: 70.41 kB / 3.688 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/10.66, allocations: 0.5052 MB / 3.688 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/10.66, allocations: 43.05 kB / 3.688 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/10.66, allocations: 465.5 kB / 3.689 GB, free: 171 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/10.66, allocations: 269.8 kB / 3.689 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/10.66, allocations: 15.47 kB / 3.689 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001449/10.66, allocations: 385.9 kB / 3.689 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/10.66, allocations: 324.7 kB / 3.69 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/10.66, allocations: 451 kB / 3.69 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/10.66, allocations: 400.1 kB / 3.69 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/10.66, allocations: 3.094 kB / 3.69 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002257/10.66, allocations: 0.9113 MB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/10.66, allocations: 7.25 kB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/10.66, allocations: 3.625 kB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/10.66, allocations: 15.22 kB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/10.66, allocations: 154.6 kB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/10.66, allocations: 14.19 kB / 3.691 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/10.67, allocations: 137.3 kB / 3.692 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/10.67, allocations: 26.58 kB / 3.692 GB, free: 169.5 MB / 0.8698 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 () * 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.0002715/10.67, allocations: 143.4 kB / 3.692 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/10.67, allocations: 78.97 kB / 3.692 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/10.67, allocations: 116.6 kB / 3.692 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/10.67, allocations: 7.781 kB / 3.692 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/10.67, allocations: 0 / 3.692 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001833/10.67, allocations: 1.08 MB / 3.693 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/10.67, allocations: 2.186 MB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/10.67, allocations: 3.812 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/10.68, allocations: 173.5 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/10.68, allocations: 6.312 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-05/10.68, allocations: 23.64 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/10.68, allocations: 3.125 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/10.68, allocations: 3.562 kB / 3.695 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/10.68, allocations: 1.485 MB / 3.697 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/10.68, allocations: 270.2 kB / 3.697 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/10.68, allocations: 19.86 kB / 3.697 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/10.68, allocations: 98.94 kB / 3.697 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/10.68, allocations: 50.03 kB / 3.697 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/10.68, allocations: 29.81 kB / 3.697 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007167/10.68, allocations: 409.7 kB / 3.698 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.8e-07/10.68, allocations: 0 / 3.698 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002098/10.68, allocations: 0.5065 MB / 3.698 GB, free: 166.1 MB / 0.8698 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 () * 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.005795/10.69, allocations: 3.622 MB / 3.702 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00201/10.69, allocations: 0.7931 MB / 3.702 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/10.69, allocations: 3.844 kB / 3.702 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/10.69, allocations: 422.4 kB / 3.703 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/10.7, allocations: 0.5495 MB / 3.703 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/10.7, allocations: 2.065 MB / 3.705 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/10.71, allocations: 1.16 MB / 3.707 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001872/10.71, allocations: 278.7 kB / 3.707 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009264/10.71, allocations: 377.7 kB / 3.707 GB, free: 162 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/10.71, allocations: 0 / 3.707 GB, free: 162 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/10.88, allocations: 55.43 MB / 3.761 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/10.88, allocations: 148.9 kB / 3.761 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.746/15.62, allocations: 0 / 3.761 GB, free: 119.7 MB / 0.8698 GB