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.352/2.352, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.00142/0.001419, allocations: 190.3 kB / 315.4 MB, free: 3.969 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.032/2.032, allocations: 205.2 MB / 0.5662 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 94.52 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.619e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.347, allocations: 2.194 GB / 3.078 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/7.347, allocations: 90.56 kB / 3.078 GB, free: 158.6 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.439/10.79, allocations: 0.5834 GB / 3.662 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.864e-06/10.79, allocations: 0 / 3.662 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001314/10.79, allocations: 29.98 kB / 3.662 GB, free: 175.7 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.007091/10.79, allocations: 1.544 MB / 3.663 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/10.79, allocations: 9.312 kB / 3.663 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/10.8, allocations: 346 kB / 3.664 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/10.8, allocations: 0.8504 MB / 3.664 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/10.8, allocations: 33.86 kB / 3.664 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/10.8, allocations: 64.22 kB / 3.665 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002507/10.8, allocations: 0.996 MB / 3.666 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/10.81, allocations: 0.9676 MB / 3.666 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/10.81, allocations: 0 / 3.666 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/10.81, allocations: 3.969 kB / 3.666 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/10.81, allocations: 58.45 kB / 3.667 GB, free: 174.6 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.00938/10.82, allocations: 4.865 MB / 3.671 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/10.82, allocations: 3.382 MB / 3.675 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009558/10.82, allocations: 444.3 kB / 3.675 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.782e-05/10.82, allocations: 19.72 kB / 3.675 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/10.82, allocations: 406.4 kB / 3.675 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 4.689e-06/10.82, allocations: 2.156 kB / 3.675 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001895/10.82, allocations: 0.6844 MB / 3.676 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/10.82, allocations: 59.94 kB / 3.676 GB, free: 169 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/10.82, allocations: 428 kB / 3.677 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/10.82, allocations: 25.7 kB / 3.677 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/10.82, allocations: 466.3 kB / 3.677 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/10.82, allocations: 255.1 kB / 3.677 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/10.82, allocations: 5.875 kB / 3.677 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/10.82, allocations: 377.1 kB / 3.678 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/10.82, allocations: 262.8 kB / 3.678 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/10.83, allocations: 375.1 kB / 3.678 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/10.83, allocations: 336.2 kB / 3.679 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/10.83, allocations: 3.281 kB / 3.679 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001703/10.83, allocations: 0.7451 MB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/10.83, allocations: 6.875 kB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/10.83, allocations: 3.969 kB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/10.83, allocations: 10.27 kB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/10.83, allocations: 162.2 kB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/10.83, allocations: 6.969 kB / 3.679 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/10.83, allocations: 112.6 kB / 3.68 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/10.83, allocations: 32 kB / 3.68 GB, free: 168 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.0002259/10.83, allocations: 120.6 kB / 3.68 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001484/10.83, allocations: 0.6738 MB / 3.68 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/10.83, allocations: 73 kB / 3.68 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/10.83, allocations: 85.64 kB / 3.681 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/10.83, allocations: 8.625 kB / 3.681 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/10.83, allocations: 3.938 kB / 3.681 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/10.83, allocations: 0.9449 MB / 3.681 GB, free: 167.3 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 postOpt removeSimpleEquations (simulation): time 0.004894/10.84, allocations: 2.496 MB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/10.84, allocations: 0 / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/10.84, allocations: 179.5 kB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/10.84, allocations: 3.906 kB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/10.84, allocations: 2.969 kB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/10.84, allocations: 7.656 kB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.84, allocations: 3.188 kB / 3.684 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/10.84, allocations: 1.233 MB / 3.685 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/10.84, allocations: 241.1 kB / 3.686 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/10.84, allocations: 7.812 kB / 3.686 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/10.85, allocations: 104.3 kB / 3.686 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/10.85, allocations: 40.17 kB / 3.686 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/10.85, allocations: 25.8 kB / 3.686 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005631/10.85, allocations: 330.5 kB / 3.686 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/10.85, allocations: 0 / 3.686 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001807/10.85, allocations: 452 kB / 3.686 GB, free: 165.7 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.005123/10.85, allocations: 3.552 MB / 3.69 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001534/10.86, allocations: 0.6508 MB / 3.691 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/10.86, allocations: 3.281 kB / 3.691 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006465/10.86, allocations: 347.4 kB / 3.691 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/10.86, allocations: 493.8 kB / 3.691 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/10.87, allocations: 1.936 MB / 3.693 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/10.87, allocations: 1.17 MB / 3.694 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001554/10.87, allocations: 250.1 kB / 3.695 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008241/10.87, allocations: 372.9 kB / 3.695 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/10.87, allocations: 0 / 3.695 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/10.98, allocations: 35.78 MB / 3.73 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/10.98, allocations: 142.1 kB / 3.73 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.184/15.16, allocations: 0 / 3.73 GB, free: 160.2 MB / 0.8698 GB