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.001389/0.001389, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 187.7 kB / 16.62 MB, free: 6.582 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.776/1.776, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001404/0.001404, allocations: 74.14 kB / 0.6718 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2517, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7202/0.972, allocations: 204.1 MB / 0.983 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.9841, allocations: 6.301 MB / 0.9891 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.9868, allocations: 39.12 kB / 0.9892 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.9895, allocations: 0.7306 MB / 0.9899 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008772/0.9983, allocations: 2.668 MB / 0.9925 GB, free: 10.72 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.002406/1.001, allocations: 0.6907 MB / 0.9932 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00556/1.006, allocations: 3.255 MB / 0.9963 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/1.008, allocations: 1.134 MB / 0.9974 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/1.012, allocations: 1.243 MB / 0.9987 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/1.015, allocations: 1.096 MB / 0.9997 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000339/1.015, allocations: 128.5 kB / 0.9999 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006243/1.021, allocations: 2.358 MB / 1.002 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/1.023, allocations: 0.5118 MB / 1.003 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/1.024, allocations: 0.738 MB / 1.003 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0074/1.032, allocations: 2.793 MB / 1.006 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.032, allocations: 0 / 1.006 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/1.032, allocations: 0 / 1.006 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.755e-05/1.032, allocations: 2.781 kB / 1.006 GB, free: 3.352 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.005392/1.037, allocations: 1.759 MB / 1.008 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.037, allocations: 9.375 kB / 1.008 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/1.038, allocations: 166 kB / 1.008 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/1.04, allocations: 341.3 kB / 1.008 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/1.042, allocations: 0.868 MB / 1.009 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/1.042, allocations: 76.05 kB / 1.009 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/1.042, allocations: 102.3 kB / 1.009 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/1.045, allocations: 1.19 MB / 1.01 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/1.045, allocations: 3.984 kB / 1.01 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/1.045, allocations: 41.62 kB / 1.011 GB, free: 380 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/1.045, allocations: 68.19 kB / 1.011 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/1.047, allocations: 1.244 MB / 1.012 GB, free: 15.73 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 preOpt removeSimpleEquations (simulation): time 0.007957/1.055, allocations: 5.081 MB / 1.017 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.057, allocations: 1.154 MB / 1.018 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/1.058, allocations: 0.5016 MB / 1.018 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.3e-05/1.058, allocations: 17.38 kB / 1.018 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/1.059, allocations: 492.2 kB / 1.019 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/1.059, allocations: 0 / 1.019 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002141/1.061, allocations: 1.151 MB / 1.02 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.061, allocations: 63.09 kB / 1.02 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/1.062, allocations: 0.5638 MB / 1.021 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/1.062, allocations: 44.33 kB / 1.021 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/1.062, allocations: 460.3 kB / 1.021 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/1.062, allocations: 274.2 kB / 1.021 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/1.063, allocations: 128.2 kB / 1.021 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.063, allocations: 387.5 kB / 1.022 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/1.063, allocations: 328.2 kB / 1.022 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/1.064, allocations: 464.2 kB / 1.023 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.065, allocations: 0.8234 MB / 1.023 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.065, allocations: 0 / 1.023 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001494/1.067, allocations: 0.9254 MB / 1.024 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.067, allocations: 7.781 kB / 1.024 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.067, allocations: 1.781 kB / 1.024 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.067, allocations: 5.625 kB / 1.024 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/1.067, allocations: 162.3 kB / 1.024 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.067, allocations: 9.844 kB / 1.024 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009021/1.068, allocations: 65.28 kB / 1.025 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.068, allocations: 27.91 kB / 1.025 GB, free: 6.41 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.0006823/1.069, allocations: 329.5 kB / 1.025 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.069, allocations: 75.62 kB / 1.025 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/1.069, allocations: 109.9 kB / 1.025 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.069, allocations: 11.69 kB / 1.025 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.07, allocations: 0 / 1.025 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/1.071, allocations: 1.085 MB / 1.026 GB, free: 5.234 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.003499/1.074, allocations: 2.298 MB / 1.028 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.074, allocations: 0 / 1.028 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/1.075, allocations: 176.2 kB / 1.029 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/1.075, allocations: 3.219 kB / 1.029 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/1.075, allocations: 27.42 kB / 1.029 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/1.075, allocations: 2.062 kB / 1.029 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.075, allocations: 5.906 kB / 1.029 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.077, allocations: 1.49 MB / 1.03 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.078, allocations: 251.3 kB / 1.03 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.078, allocations: 13.16 kB / 1.03 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/1.079, allocations: 18.97 kB / 1.03 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/1.079, allocations: 45.11 kB / 1.03 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/1.079, allocations: 33.83 kB / 1.03 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005144/1.08, allocations: 407.4 kB / 1.031 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.08, allocations: 3.938 kB / 1.031 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000993/1.081, allocations: 371 kB / 1.031 GB, free: 1.742 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.00257/1.083, allocations: 2.097 MB / 1.033 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.085, allocations: 0.806 MB / 1.034 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.085, allocations: 0 / 1.034 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/1.085, allocations: 427.5 kB / 1.034 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.088, allocations: 0.6009 MB / 1.035 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.1, allocations: 7.188 MB / 1.042 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/1.101, allocations: 1.136 MB / 1.043 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001162/1.102, allocations: 267.1 kB / 1.043 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/1.102, allocations: 375.3 kB / 1.044 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of SimCode: time 1.283e-06/1.102, allocations: 4 kB / 1.044 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/1.165, allocations: 25.71 MB / 1.069 GB, free: 11.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/10.77, allocations: 12.06 kB / 1.069 GB, free: 11.27 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)