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.6/1.6, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001009/0.00101, allocations: 177.7 kB / 326.5 MB, free: 2.23 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.586/1.586, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009817/0.0009817, allocations: 97.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12.39 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6227/0.8379, allocations: 168.9 MB / 1.065 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009685/0.8476, allocations: 6.501 MB / 1.071 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.8492, allocations: 29.41 kB / 1.071 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.8511, allocations: 0.6641 MB / 1.072 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.8577, allocations: 2.042 MB / 1.074 GB, free: 3.703 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.003011/0.8607, allocations: 0.8083 MB / 1.075 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003957/0.8647, allocations: 1.895 MB / 1.077 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.8664, allocations: 0.846 MB / 1.078 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.8696, allocations: 1.175 MB / 1.079 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.8709, allocations: 0.6642 MB / 1.079 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.8711, allocations: 56.81 kB / 1.079 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.874, allocations: 0.8599 MB / 1.08 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.8746, allocations: 419.8 kB / 1.081 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007622/0.8754, allocations: 291.4 kB / 1.081 GB, free: 19.51 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.8778, allocations: 1.678 MB / 1.083 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8778, allocations: 0 / 1.083 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8778, allocations: 0 / 1.083 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.8778, allocations: 5.375 kB / 1.083 GB, free: 19.39 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.003715/0.8815, allocations: 1.491 MB / 1.084 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8816, allocations: 10.31 kB / 1.084 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.8818, allocations: 160.1 kB / 1.084 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.884, allocations: 353 kB / 1.085 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8856, allocations: 0.8098 MB / 1.085 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.8857, allocations: 76.22 kB / 1.085 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.8859, allocations: 110.6 kB / 1.086 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.8879, allocations: 1.194 MB / 1.087 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.8879, allocations: 0 / 1.087 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.8881, allocations: 45.22 kB / 1.087 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-05/0.8881, allocations: 60.67 kB / 1.087 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.8901, allocations: 1.25 MB / 1.088 GB, free: 18.08 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.006353/0.8964, allocations: 5.072 MB / 1.093 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.898, allocations: 1.141 MB / 1.094 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.8981, allocations: 10.69 kB / 1.094 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/0.899, allocations: 489.8 kB / 1.095 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.617e-06/0.899, allocations: 0 / 1.095 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002189/0.9012, allocations: 1.152 MB / 1.096 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.9012, allocations: 61.47 kB / 1.096 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.902, allocations: 0.5657 MB / 1.096 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.9021, allocations: 41.89 kB / 1.096 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.9025, allocations: 469.7 kB / 1.097 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.9028, allocations: 266.6 kB / 1.097 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.9029, allocations: 15.88 kB / 1.097 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.9031, allocations: 383.3 kB / 1.097 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.9036, allocations: 331.5 kB / 1.098 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.9042, allocations: 444.7 kB / 1.098 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.9048, allocations: 399.2 kB / 1.099 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9048, allocations: 0 / 1.099 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001227/0.906, allocations: 0.9178 MB / 1.099 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.906, allocations: 10.09 kB / 1.099 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9061, allocations: 2.844 kB / 1.099 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.9061, allocations: 5.656 kB / 1.099 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.9067, allocations: 157.6 kB / 1.1 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.9068, allocations: 9 kB / 1.1 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.9079, allocations: 145 kB / 1.1 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.9079, allocations: 27.97 kB / 1.1 GB, free: 13.8 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.0004874/0.9084, allocations: 337.3 kB / 1.1 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.9085, allocations: 81.81 kB / 1.1 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.9088, allocations: 107.5 kB / 1.1 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.9088, allocations: 11.72 kB / 1.1 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.9088, allocations: 0 / 1.1 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.9099, allocations: 1.077 MB / 1.101 GB, free: 13.17 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.003081/0.913, allocations: 2.273 MB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.913, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.9138, allocations: 178.2 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.9138, allocations: 8.781 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.9138, allocations: 20.3 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9139, allocations: 8.906 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9139, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.9155, allocations: 1.471 MB / 1.105 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.916, allocations: 265 kB / 1.105 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9161, allocations: 19.91 kB / 1.105 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.917, allocations: 103.7 kB / 1.106 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.9171, allocations: 47.06 kB / 1.106 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.9171, allocations: 27.09 kB / 1.106 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004222/0.9175, allocations: 408.8 kB / 1.106 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9175, allocations: 2.688 kB / 1.106 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009376/0.9185, allocations: 368.3 kB / 1.106 GB, free: 12.16 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.002098/0.9206, allocations: 2.175 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9217, allocations: 0.7898 MB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9217, allocations: 0 / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.9222, allocations: 424.5 kB / 1.11 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.9245, allocations: 0.5621 MB / 1.11 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.9326, allocations: 7.451 MB / 1.118 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.9334, allocations: 1.165 MB / 1.119 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001093/0.9345, allocations: 268.5 kB / 1.119 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.935, allocations: 372.4 kB / 1.119 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.935, allocations: 0 / 1.119 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.9763, allocations: 26.04 MB / 1.145 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.9765, allocations: 182.8 kB / 1.145 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.508, allocations: 4 kB / 1.145 GB, free: 10.46 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)