Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 267 MB, free: 10.98 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.001055/0.001055, allocations: 183.9 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5776 GB, free: 20.53 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.00075/0.0007501, allocations: 94.05 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 12.58 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2377, allocations: 106.4 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6906/0.9284, allocations: 186.1 MB / 1.082 GB, free: 4.191 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.9393, allocations: 5.957 MB / 1.088 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.9411, allocations: 29.25 kB / 1.088 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.943, allocations: 496.9 kB / 1.088 GB, free: 4.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.95, allocations: 1.941 MB / 1.09 GB, free: 3.98 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.002063/0.9521, allocations: 0.5146 MB / 1.091 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005435/0.9575, allocations: 4.126 MB / 1.095 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.9592, allocations: 0.84 MB / 1.096 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.9625, allocations: 1.093 MB / 1.097 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.965, allocations: 1.069 MB / 1.098 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.9653, allocations: 57.81 kB / 1.098 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.9689, allocations: 1.126 MB / 1.099 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.9694, allocations: 461.9 kB / 1.099 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007853/0.9702, allocations: 294.5 kB / 1.1 GB, free: 19.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.9729, allocations: 1.875 MB / 1.101 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9729, allocations: 0 / 1.101 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9729, allocations: 0 / 1.101 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.973, allocations: 0 / 1.101 GB, free: 19.64 MB / 0.7136 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.00382/0.9768, allocations: 1.546 MB / 1.103 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.9769, allocations: 13.69 kB / 1.103 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.9771, allocations: 164.6 kB / 1.103 GB, free: 18.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.9792, allocations: 353.5 kB / 1.103 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.9807, allocations: 0.8124 MB / 1.104 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.9807, allocations: 76.27 kB / 1.104 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.9809, allocations: 106.9 kB / 1.104 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.9829, allocations: 1.195 MB / 1.106 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.9829, allocations: 0 / 1.106 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/0.983, allocations: 44.5 kB / 1.106 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.9831, allocations: 61.31 kB / 1.106 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.9849, allocations: 1.248 MB / 1.107 GB, free: 18.3 MB / 0.7136 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.006131/0.991, allocations: 5.083 MB / 1.112 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.9923, allocations: 1.132 MB / 1.113 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.993, allocations: 0.4963 MB / 1.113 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.993, allocations: 20.27 kB / 1.113 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.9937, allocations: 486.1 kB / 1.114 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.507e-06/0.9937, allocations: 1.859 kB / 1.114 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001921/0.9957, allocations: 1.141 MB / 1.115 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.9957, allocations: 60.47 kB / 1.115 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.9965, allocations: 0.5753 MB / 1.116 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.9966, allocations: 42.89 kB / 1.116 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.9969, allocations: 462.5 kB / 1.116 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.9971, allocations: 269.9 kB / 1.116 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.9972, allocations: 14.19 kB / 1.116 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.9974, allocations: 385 kB / 1.117 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.9979, allocations: 323 kB / 1.117 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.9984, allocations: 456.9 kB / 1.118 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.999, allocations: 392.3 kB / 1.118 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.999, allocations: 0 / 1.118 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00132/1, allocations: 0.9141 MB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1, allocations: 5.375 kB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1, allocations: 2.906 kB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/1, allocations: 12.61 kB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/1.001, allocations: 161.4 kB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.001, allocations: 5.75 kB / 1.119 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.002, allocations: 134.2 kB / 1.119 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/1.002, allocations: 26.59 kB / 1.119 GB, free: 14 MB / 0.7136 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.000576/1.003, allocations: 338.2 kB / 1.119 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.003, allocations: 87.58 kB / 1.12 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/1.003, allocations: 111.7 kB / 1.12 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.003, allocations: 9.328 kB / 1.12 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/1.003, allocations: 3.281 kB / 1.12 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/1.004, allocations: 1.075 MB / 1.121 GB, free: 13.36 MB / 0.7136 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.00329/1.008, allocations: 2.304 MB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.008, allocations: 3.984 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/1.009, allocations: 178.1 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.009, allocations: 2.625 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/1.009, allocations: 19.25 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.009, allocations: 3.5 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.009, allocations: 2.438 kB / 1.123 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.011, allocations: 1.469 MB / 1.125 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/1.011, allocations: 259.3 kB / 1.125 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.011, allocations: 16.22 kB / 1.125 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/1.012, allocations: 104.3 kB / 1.125 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.012, allocations: 46.22 kB / 1.125 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/1.013, allocations: 24.7 kB / 1.125 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006252/1.013, allocations: 414.4 kB / 1.125 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.013, allocations: 0 / 1.125 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001062/1.014, allocations: 376.1 kB / 1.126 GB, free: 12.33 MB / 0.7136 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.00215/1.016, allocations: 2.094 MB / 1.128 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.017, allocations: 0.7878 MB / 1.129 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.017, allocations: 6.156 kB / 1.129 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/1.018, allocations: 419 kB / 1.129 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.02, allocations: 0.5664 MB / 1.13 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/1.028, allocations: 5.84 MB / 1.135 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/1.029, allocations: 1.141 MB / 1.136 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00111/1.03, allocations: 272.4 kB / 1.137 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/1.031, allocations: 380.9 kB / 1.137 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/1.031, allocations: 0 / 1.137 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/1.081, allocations: 26.09 MB / 1.162 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.081, allocations: 205.1 kB / 1.163 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.945, allocations: 0 / 1.163 GB, free: 5.781 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)