Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="BuildingSystems_BuildingSystems_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.001327/0.001327, allocations: 108 kB / 15.6 MB, free: 132 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.001298/0.001298, allocations: 195 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002715/0.002715, allocations: 286.9 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004507/0.004508, allocations: 98.44 kB / 0.6065 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1754, allocations: 89.15 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.5745/0.7499, allocations: 299.1 MB / 0.9856 GB, free: 100 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.7735, allocations: 15.31 MB / 1.001 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.7759, allocations: 75.62 kB / 1.001 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.78, allocations: 1.733 MB / 1.002 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/0.7938, allocations: 5.923 MB / 1.008 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006952/0.8007, allocations: 2.81 MB / 1.011 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009057/0.8098, allocations: 7.124 MB / 1.018 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004159/0.814, allocations: 2.693 MB / 1.02 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.8189, allocations: 2.613 MB / 1.023 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.8237, allocations: 2.626 MB / 1.026 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006329/0.8243, allocations: 344 kB / 1.026 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.8359, allocations: 5.736 MB / 1.032 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.8379, allocations: 1.516 MB / 1.033 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.8411, allocations: 1.929 MB / 1.035 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.8521, allocations: 6.798 MB / 1.042 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8521, allocations: 0 / 1.042 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8521, allocations: 0 / 1.042 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.8522, allocations: 0 / 1.042 GB, free: 6.703 MB / 0.7637 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.009986/0.8622, allocations: 4.16 MB / 1.046 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8622, allocations: 12.03 kB / 1.046 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005233/0.8627, allocations: 400.5 kB / 1.046 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.8683, allocations: 0.843 MB / 1.047 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2391/1.107, allocations: 1.796 MB / 1.049 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/1.108, allocations: 216 kB / 1.049 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004424/1.108, allocations: 279.8 kB / 1.049 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006021/1.114, allocations: 3.625 MB / 1.053 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/1.114, allocations: 5.969 kB / 1.053 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/1.114, allocations: 116.5 kB / 1.053 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/1.115, allocations: 149.6 kB / 1.053 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/1.121, allocations: 3.73 MB / 1.056 GB, free: 280.7 MB / 0.7637 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.01406/1.135, allocations: 13.34 MB / 1.069 GB, free: 271.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/1.139, allocations: 3.235 MB / 1.073 GB, free: 270.2 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.141, allocations: 1.783 MB / 1.074 GB, free: 269.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/1.143, allocations: 1.588 MB / 1.076 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.143, allocations: 67.97 kB / 1.076 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=285): time 4.458e-06/1.143, allocations: 0 / 1.076 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285): time 0.00644/1.149, allocations: 4.04 MB / 1.08 GB, free: 266.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.149, allocations: 87.41 kB / 1.08 GB, free: 266.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.151, allocations: 1.433 MB / 1.081 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/1.151, allocations: 74.05 kB / 1.082 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/1.152, allocations: 1.004 MB / 1.082 GB, free: 264.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/1.152, allocations: 0.9682 MB / 1.083 GB, free: 264 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/1.153, allocations: 408.6 kB / 1.084 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/1.153, allocations: 306.4 kB / 1.084 GB, free: 263.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/1.155, allocations: 1.143 MB / 1.085 GB, free: 263 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.156, allocations: 1.385 MB / 1.087 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/1.16, allocations: 2.725 MB / 1.089 GB, free: 260.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.16, allocations: 1.5 kB / 1.089 GB, free: 260.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004604/1.165, allocations: 3.053 MB / 1.092 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.165, allocations: 10.22 kB / 1.092 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.165, allocations: 4.125 kB / 1.092 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.165, allocations: 13.75 kB / 1.092 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.167, allocations: 0.5121 MB / 1.093 GB, free: 259.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.167, allocations: 15.88 kB / 1.093 GB, free: 259.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.169, allocations: 198.5 kB / 1.093 GB, free: 259 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.169, allocations: 83.42 kB / 1.093 GB, free: 258.9 MB / 0.7637 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.001037/1.17, allocations: 0.6868 MB / 1.094 GB, free: 258.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.17, allocations: 236.1 kB / 1.094 GB, free: 258.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/1.175, allocations: 3.211 MB / 1.097 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.175, allocations: 35.09 kB / 1.097 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.175, allocations: 0 / 1.097 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/1.178, allocations: 2.647 MB / 1.1 GB, free: 255.2 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/1.186, allocations: 6.64 MB / 1.106 GB, free: 250.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.186, allocations: 4 kB / 1.106 GB, free: 250.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.189, allocations: 0.5423 MB / 1.107 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/1.189, allocations: 15.94 kB / 1.107 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.189, allocations: 61.05 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.189, allocations: 15.94 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.189, allocations: 7.984 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/1.194, allocations: 4.817 MB / 1.112 GB, free: 245 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/1.195, allocations: 0.6227 MB / 1.112 GB, free: 244.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.195, allocations: 59.98 kB / 1.112 GB, free: 244.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.197, allocations: 69.83 kB / 1.112 GB, free: 244.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.197, allocations: 177.9 kB / 1.112 GB, free: 244.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.197, allocations: 86.03 kB / 1.112 GB, free: 244 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000986/1.198, allocations: 0.9852 MB / 1.113 GB, free: 243 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/1.198, allocations: 3.406 kB / 1.113 GB, free: 243 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001619/1.2, allocations: 0.9939 MB / 1.114 GB, free: 242.1 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.006085/1.206, allocations: 5.681 MB / 1.12 GB, free: 236.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.216, allocations: 5.886 MB / 1.126 GB, free: 230.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.216, allocations: 4 kB / 1.126 GB, free: 230.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.218, allocations: 1.558 MB / 1.127 GB, free: 228.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/1.223, allocations: 1.336 MB / 1.129 GB, free: 227.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.247, allocations: 22.52 MB / 1.151 GB, free: 203.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.248, allocations: 1.99 MB / 1.152 GB, free: 201.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002718/1.25, allocations: 0.8907 MB / 1.153 GB, free: 200.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.252, allocations: 1.12 MB / 1.154 GB, free: 199.8 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/1.252, allocations: 0 / 1.154 GB, free: 199.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.087/1.339, allocations: 69.51 MB / 1.222 GB, free: 131.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.846/11.18, allocations: 15.34 kB / 1.222 GB, free: 131.1 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)