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.001623/0.001623, 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.001807/0.001807, allocations: 189.6 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.759/1.759, 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.789/1.789, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001394/0.001394, allocations: 69.97 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2777, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.814/1.092, allocations: 299 MB / 1.076 GB, free: 12.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02418/1.116, allocations: 15.17 MB / 1.09 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/1.121, allocations: 67.69 kB / 1.091 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/1.126, allocations: 1.74 MB / 1.092 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0166/1.142, allocations: 5.848 MB / 1.098 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008744/1.151, allocations: 2.864 MB / 1.101 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009328/1.16, allocations: 7.096 MB / 1.108 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/1.164, allocations: 2.705 MB / 1.11 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/1.17, allocations: 2.624 MB / 1.113 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005575/1.175, allocations: 2.622 MB / 1.115 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001303/1.177, allocations: 340 kB / 1.116 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/1.191, allocations: 5.748 MB / 1.121 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002351/1.193, allocations: 1.5 MB / 1.123 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003297/1.196, allocations: 1.933 MB / 1.125 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/1.211, allocations: 6.856 MB / 1.131 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.211, allocations: 4 kB / 1.131 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.144e-06/1.211, allocations: 0 / 1.131 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000146/1.211, allocations: 0 / 1.131 GB, free: 2.73 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.01336/1.224, allocations: 4.156 MB / 1.135 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.224, allocations: 8.031 kB / 1.135 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007009/1.225, allocations: 396.5 kB / 1.136 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/1.231, allocations: 0.8469 MB / 1.137 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/1.234, allocations: 1.845 MB / 1.138 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/1.235, allocations: 213.5 kB / 1.139 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/1.235, allocations: 284 kB / 1.139 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/1.241, allocations: 3.619 MB / 1.143 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.315e-05/1.241, allocations: 11.86 kB / 1.143 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/1.241, allocations: 120 kB / 1.143 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/1.242, allocations: 149.5 kB / 1.143 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/1.248, allocations: 3.718 MB / 1.146 GB, free: 3.141 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.01849/1.267, allocations: 13.23 MB / 1.159 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004834/1.271, allocations: 3.25 MB / 1.162 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/1.274, allocations: 1.791 MB / 1.164 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/1.276, allocations: 1.588 MB / 1.166 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/1.276, allocations: 64.81 kB / 1.166 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=285): time 4.558e-06/1.276, allocations: 0 / 1.166 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=285): time 0.008805/1.285, allocations: 4.039 MB / 1.17 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.285, allocations: 81.66 kB / 1.17 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/1.288, allocations: 1.421 MB / 1.171 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/1.289, allocations: 73.7 kB / 1.171 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/1.289, allocations: 1.002 MB / 1.172 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.291, allocations: 0.9624 MB / 1.173 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009318/1.292, allocations: 416.9 kB / 1.174 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.292, allocations: 301.1 kB / 1.174 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/1.294, allocations: 1.137 MB / 1.175 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/1.296, allocations: 1.396 MB / 1.176 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/1.3, allocations: 2.729 MB / 1.179 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.3, allocations: 0 / 1.179 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004915/1.305, allocations: 3.045 MB / 1.182 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.305, allocations: 11.98 kB / 1.182 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.305, allocations: 4 kB / 1.182 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.305, allocations: 12 kB / 1.182 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/1.307, allocations: 0.5032 MB / 1.183 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-05/1.307, allocations: 15.98 kB / 1.183 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.309, allocations: 207.1 kB / 1.183 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/1.309, allocations: 88.14 kB / 1.183 GB, free: 12.07 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.001257/1.311, allocations: 0.6885 MB / 1.184 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/1.311, allocations: 229.3 kB / 1.184 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/1.317, allocations: 3.211 MB / 1.187 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.317, allocations: 31.98 kB / 1.187 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.317, allocations: 0 / 1.187 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003951/1.321, allocations: 2.649 MB / 1.19 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.333, allocations: 6.607 MB / 1.196 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.333, allocations: 0 / 1.196 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002608/1.335, allocations: 0.5544 MB / 1.197 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.382e-05/1.336, allocations: 16 kB / 1.197 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/1.336, allocations: 63.98 kB / 1.197 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.227e-05/1.336, allocations: 11.98 kB / 1.197 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.336, allocations: 7.938 kB / 1.197 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/1.344, allocations: 5.011 MB / 1.201 GB, free: 8.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.346, allocations: 0.6187 MB / 1.202 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006736/1.346, allocations: 52 kB / 1.202 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.348, allocations: 71.02 kB / 1.202 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/1.349, allocations: 177.9 kB / 1.202 GB, free: 7.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.349, allocations: 83.98 kB / 1.202 GB, free: 7.551 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002121/1.351, allocations: 0.9768 MB / 1.203 GB, free: 6.578 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/1.351, allocations: 4 kB / 1.203 GB, free: 6.574 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003019/1.354, allocations: 0.9978 MB / 1.204 GB, free: 5.574 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.008574/1.363, allocations: 5.848 MB / 1.21 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00475/1.367, allocations: 2.869 MB / 1.213 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.367, allocations: 4.062 kB / 1.213 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.37, allocations: 1.554 MB / 1.214 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006429/1.376, allocations: 1.324 MB / 1.216 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/1.411, allocations: 20.37 MB / 1.236 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.413, allocations: 1.986 MB / 1.238 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003072/1.416, allocations: 0.8868 MB / 1.238 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.418, allocations: 1.116 MB / 1.24 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/1.418, allocations: 0 / 1.24 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5176/1.936, allocations: 69.66 MB / 1.308 GB, free: 388.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.62, allocations: 5.656 kB / 1.308 GB, free: 388.4 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)