Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.006027/0.006027, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.001499/0.001499, allocations: 192 kB / 16.67 MB, free: 5.973 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.825/0.825, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.25 kB / 0.595 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 82.04 MB / 0.6752 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4617/0.5872, allocations: 204.3 MB / 0.8747 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009065/0.5963, allocations: 6.391 MB / 0.8809 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009896/0.5974, allocations: 35.81 kB / 0.8809 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.5991, allocations: 0.7694 MB / 0.8817 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.6045, allocations: 2.769 MB / 0.8844 GB, free: 7.824 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/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.001493/0.606, allocations: 0.7128 MB / 0.8851 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003272/0.6093, allocations: 3.27 MB / 0.8883 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.6105, allocations: 1.14 MB / 0.8894 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.6121, allocations: 1.292 MB / 0.8907 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.6137, allocations: 1.116 MB / 0.8918 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.6139, allocations: 128 kB / 0.8919 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.6174, allocations: 2.354 MB / 0.8942 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.6178, allocations: 0.5143 MB / 0.8947 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006971/0.6185, allocations: 0.7391 MB / 0.8954 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.6216, allocations: 2.893 MB / 0.8982 GB, free: 9.629 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6217, allocations: 0 / 0.8982 GB, free: 9.629 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6217, allocations: 0 / 0.8982 GB, free: 9.629 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.6217, allocations: 0 / 0.8982 GB, free: 9.629 MB / 0.67 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.003606/0.6253, allocations: 1.813 MB / 0.9 GB, free: 7.758 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6253, allocations: 8.031 kB / 0.9 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.6255, allocations: 160.6 kB / 0.9002 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.6277, allocations: 358.9 kB / 0.9005 GB, free: 7.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.629, allocations: 0.8746 MB / 0.9014 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.6291, allocations: 78 kB / 0.9014 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.6293, allocations: 104 kB / 0.9015 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.6311, allocations: 1.202 MB / 0.9027 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.6312, allocations: 0 / 0.9027 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.6313, allocations: 40 kB / 0.9027 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-05/0.6313, allocations: 58.08 kB / 0.9028 GB, free: 4.801 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.6333, allocations: 1.25 MB / 0.904 GB, free: 3.543 MB / 0.67 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.005947/0.6392, allocations: 5.119 MB / 0.909 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6407, allocations: 1.155 MB / 0.9101 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.6415, allocations: 0.5012 MB / 0.9106 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.6415, allocations: 16.64 kB / 0.9106 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.6422, allocations: 484.2 kB / 0.9111 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/0.6423, allocations: 4 kB / 0.9111 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001881/0.6441, allocations: 1.161 MB / 0.9122 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.6442, allocations: 60.06 kB / 0.9123 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.6448, allocations: 0.5744 MB / 0.9129 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.6449, allocations: 41.7 kB / 0.9129 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.6452, allocations: 476.7 kB / 0.9134 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6454, allocations: 281.6 kB / 0.9136 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.6456, allocations: 134.6 kB / 0.9138 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6458, allocations: 386.8 kB / 0.9141 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.6463, allocations: 329.8 kB / 0.9144 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.6469, allocations: 444.8 kB / 0.9149 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.648, allocations: 0.8232 MB / 0.9157 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.648, allocations: 0 / 0.9157 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001368/0.6494, allocations: 0.9341 MB / 0.9166 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6494, allocations: 7.984 kB / 0.9166 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6494, allocations: 4 kB / 0.9166 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6495, allocations: 11.92 kB / 0.9166 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.6502, allocations: 155.8 kB / 0.9168 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6502, allocations: 7.938 kB / 0.9168 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.6509, allocations: 71.44 kB / 0.9168 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.6509, allocations: 24 kB / 0.9168 GB, free: 5.711 MB / 0.6856 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.0003935/0.6513, allocations: 337.7 kB / 0.9172 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6515, allocations: 87.48 kB / 0.9173 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.6517, allocations: 111.7 kB / 0.9174 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6517, allocations: 8 kB / 0.9174 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6517, allocations: 0 / 0.9174 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.653, allocations: 1.089 MB / 0.9184 GB, free: 3.988 MB / 0.6856 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.002963/0.656, allocations: 2.307 MB / 0.9207 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.656, allocations: 0 / 0.9207 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/0.6569, allocations: 179.7 kB / 0.9209 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6569, allocations: 4 kB / 0.9209 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.6569, allocations: 20 kB / 0.9209 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.657, allocations: 0 / 0.9209 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.657, allocations: 4 kB / 0.9209 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.6588, allocations: 1.36 MB / 0.9222 GB, free: 4 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.6591, allocations: 252.4 kB / 0.9225 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6592, allocations: 16 kB / 0.9225 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.6599, allocations: 27.92 kB / 0.9225 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.66, allocations: 40.59 kB / 0.9225 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.66, allocations: 27.98 kB / 0.9226 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004473/0.6605, allocations: 411.1 kB / 0.923 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6605, allocations: 7.938 kB / 0.923 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007421/0.6612, allocations: 363.4 kB / 0.9233 GB, free: 14.87 MB / 0.7012 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.002196/0.6634, allocations: 1.986 MB / 0.9252 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.6646, allocations: 0.8059 MB / 0.926 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6646, allocations: 4 kB / 0.926 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.6652, allocations: 427.5 kB / 0.9264 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.6677, allocations: 0.5812 MB / 0.927 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009208/0.677, allocations: 7.286 MB / 0.9341 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.6777, allocations: 1.136 MB / 0.9352 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007678/0.6785, allocations: 267.2 kB / 0.9355 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.679, allocations: 375.3 kB / 0.9358 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of SimCode: time 3.71e-07/0.679, allocations: 4 kB / 0.9359 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.7259, allocations: 25.97 MB / 0.9612 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/9.368, allocations: 13.88 kB / 0.9612 GB, free: 8.141 MB / 0.7325 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)