Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 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.001208/0.001208, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.63/1.63, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001736/0.001737, allocations: 68.42 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2546, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.7336/0.9883, allocations: 299 MB / 1.075 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02536/1.014, allocations: 15.18 MB / 1.09 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005007/1.019, allocations: 67.69 kB / 1.09 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005728/1.025, allocations: 1.736 MB / 1.092 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01585/1.04, allocations: 5.852 MB / 1.098 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008259/1.049, allocations: 2.849 MB / 1.101 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01005/1.059, allocations: 7.08 MB / 1.107 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/1.063, allocations: 2.711 MB / 1.11 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/1.068, allocations: 2.613 MB / 1.113 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005107/1.074, allocations: 2.618 MB / 1.115 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008098/1.074, allocations: 344 kB / 1.116 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/1.087, allocations: 5.744 MB / 1.121 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/1.089, allocations: 1.504 MB / 1.123 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003117/1.092, allocations: 1.929 MB / 1.125 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/1.107, allocations: 6.81 MB / 1.131 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.107, allocations: 3.938 kB / 1.131 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/1.107, allocations: 3.938 kB / 1.131 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001382/1.107, allocations: 0 / 1.131 GB, free: 2.965 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01195/1.119, allocations: 4.152 MB / 1.135 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/1.119, allocations: 12.02 kB / 1.135 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006167/1.12, allocations: 400.5 kB / 1.136 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/1.125, allocations: 0.8391 MB / 1.136 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/1.129, allocations: 1.782 MB / 1.138 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.129, allocations: 205.6 kB / 1.138 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/1.13, allocations: 292 kB / 1.139 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/1.136, allocations: 3.631 MB / 1.142 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/1.136, allocations: 7.938 kB / 1.142 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/1.136, allocations: 116 kB / 1.142 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/1.137, allocations: 145.5 kB / 1.142 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/1.143, allocations: 3.726 MB / 1.146 GB, free: 3.434 MB / 0.8575 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.01619/1.159, allocations: 13.31 MB / 1.159 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/1.163, allocations: 3.25 MB / 1.162 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/1.166, allocations: 1.795 MB / 1.164 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.167, allocations: 1.588 MB / 1.166 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.167, allocations: 60.81 kB / 1.166 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=285): time 3.907e-06/1.167, allocations: 0 / 1.166 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=285): time 0.006705/1.174, allocations: 4.039 MB / 1.17 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.174, allocations: 81.66 kB / 1.17 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.176, allocations: 1.417 MB / 1.171 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/1.176, allocations: 77.7 kB / 1.171 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/1.177, allocations: 0.9978 MB / 1.172 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008161/1.178, allocations: 0.9663 MB / 1.173 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005971/1.178, allocations: 416.9 kB / 1.173 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/1.178, allocations: 301.1 kB / 1.174 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/1.18, allocations: 1.137 MB / 1.175 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.182, allocations: 1.4 MB / 1.176 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/1.186, allocations: 2.717 MB / 1.179 GB, free: 208 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.186, allocations: 4.062 kB / 1.179 GB, free: 204 kB / 0.8887 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.00496/1.191, allocations: 3.049 MB / 1.182 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.191, allocations: 11.94 kB / 1.182 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.191, allocations: 7.984 kB / 1.182 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.191, allocations: 12 kB / 1.182 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.193, allocations: 0.5071 MB / 1.182 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/1.193, allocations: 19.94 kB / 1.182 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.195, allocations: 208.9 kB / 1.183 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/1.196, allocations: 87.98 kB / 1.183 GB, free: 12.26 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 312 * 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.001232/1.197, allocations: 0.6807 MB / 1.183 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/1.197, allocations: 233.2 kB / 1.184 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005434/1.203, allocations: 3.207 MB / 1.187 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.203, allocations: 28 kB / 1.187 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.203, allocations: 0 / 1.187 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003973/1.207, allocations: 2.646 MB / 1.189 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.218, allocations: 6.613 MB / 1.196 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.218, allocations: 7.938 kB / 1.196 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.221, allocations: 0.5504 MB / 1.196 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.086e-05/1.221, allocations: 12 kB / 1.196 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.221, allocations: 67.98 kB / 1.196 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/1.221, allocations: 15.94 kB / 1.196 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.221, allocations: 4 kB / 1.196 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/1.229, allocations: 4.999 MB / 1.201 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.23, allocations: 0.6265 MB / 1.202 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004879/1.23, allocations: 52 kB / 1.202 GB, free: 8.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.232, allocations: 58.83 kB / 1.202 GB, free: 8.023 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/1.233, allocations: 177.9 kB / 1.202 GB, free: 7.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.233, allocations: 87.97 kB / 1.202 GB, free: 7.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001739/1.235, allocations: 0.9846 MB / 1.203 GB, free: 6.781 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.235, allocations: 0 / 1.203 GB, free: 6.781 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002659/1.237, allocations: 1.002 MB / 1.204 GB, free: 5.777 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * 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.008664/1.246, allocations: 5.854 MB / 1.21 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.259, allocations: 5.888 MB / 1.216 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.259, allocations: 0 / 1.216 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/1.261, allocations: 1.563 MB / 1.217 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007169/1.268, allocations: 1.327 MB / 1.218 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/1.305, allocations: 22.34 MB / 1.24 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.307, allocations: 1.986 MB / 1.242 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003641/1.311, allocations: 0.8907 MB / 1.243 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.313, allocations: 1.112 MB / 1.244 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 1.142e-06/1.313, allocations: 0 / 1.244 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5187/1.831, allocations: 69.67 MB / 1.312 GB, free: 390.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.863/11.69, allocations: 7.188 kB / 1.312 GB, free: 390.8 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)