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.001562/0.001562, 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.00108/0.00108, allocations: 192.3 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 290.5 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 100 kB / 0.5953 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1264, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.5076/0.6341, allocations: 299.1 MB / 0.9723 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.6547, allocations: 15.31 MB / 0.9873 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.6571, allocations: 75.62 kB / 0.9874 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.6609, allocations: 1.736 MB / 0.9891 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.012/0.6729, allocations: 5.917 MB / 0.9948 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00591/0.6788, allocations: 2.8 MB / 0.9976 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007292/0.6861, allocations: 7.122 MB / 1.005 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.6896, allocations: 2.703 MB / 1.007 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.6934, allocations: 2.617 MB / 1.01 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.6974, allocations: 2.627 MB / 1.012 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005746/0.698, allocations: 340 kB / 1.013 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009001/0.707, allocations: 5.736 MB / 1.018 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.7084, allocations: 1.516 MB / 1.02 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.7108, allocations: 1.925 MB / 1.022 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.7185, allocations: 6.802 MB / 1.028 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7185, allocations: 0 / 1.028 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7186, allocations: 0 / 1.028 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.7186, allocations: 0 / 1.028 GB, free: 2.598 MB / 0.7325 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.008774/0.7274, allocations: 4.16 MB / 1.032 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.7274, allocations: 12.02 kB / 1.032 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004581/0.7279, allocations: 404.4 kB / 1.033 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.733, allocations: 0.843 MB / 1.033 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.7357, allocations: 1.802 MB / 1.035 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.7359, allocations: 213.5 kB / 1.035 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.7363, allocations: 276 kB / 1.036 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/0.7416, allocations: 3.635 MB / 1.039 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/0.7416, allocations: 3.906 kB / 1.039 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.7419, allocations: 120 kB / 1.039 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.7421, allocations: 145.5 kB / 1.04 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00584/0.7479, allocations: 3.726 MB / 1.043 GB, free: 3.035 MB / 0.7481 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.01409/0.762, allocations: 13.34 MB / 1.056 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.7664, allocations: 3.229 MB / 1.059 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2346/1.001, allocations: 1.773 MB / 1.061 GB, free: 293.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.003, allocations: 1.589 MB / 1.063 GB, free: 292 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.003, allocations: 65.53 kB / 1.063 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=285): time 5.25e-06/1.003, allocations: 0 / 1.063 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285): time 0.007399/1.01, allocations: 4.043 MB / 1.067 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.01, allocations: 80.94 kB / 1.067 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/1.012, allocations: 1.432 MB / 1.068 GB, free: 290.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/1.012, allocations: 72.95 kB / 1.068 GB, free: 290.6 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/1.013, allocations: 1.006 MB / 1.069 GB, free: 290 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005929/1.013, allocations: 0.9705 MB / 1.07 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005952/1.014, allocations: 417.6 kB / 1.071 GB, free: 289.1 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/1.014, allocations: 309.3 kB / 1.071 GB, free: 288.8 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.016, allocations: 1.138 MB / 1.072 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.017, allocations: 1.387 MB / 1.073 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/1.021, allocations: 2.714 MB / 1.076 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.021, allocations: 2.062 kB / 1.076 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004351/1.025, allocations: 3.059 MB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.025, allocations: 6.969 kB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.025, allocations: 1.969 kB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.025, allocations: 12.72 kB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/1.027, allocations: 0.5136 MB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/1.027, allocations: 14.08 kB / 1.079 GB, free: 285.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.029, allocations: 198.6 kB / 1.08 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.029, allocations: 91.11 kB / 1.08 GB, free: 285.1 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.0009515/1.03, allocations: 0.6915 MB / 1.08 GB, free: 284.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/1.031, allocations: 227.9 kB / 1.081 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/1.036, allocations: 3.214 MB / 1.084 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.036, allocations: 27.81 kB / 1.084 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.036, allocations: 0.875 kB / 1.084 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/1.04, allocations: 2.654 MB / 1.086 GB, free: 282.2 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/1.048, allocations: 6.635 MB / 1.093 GB, free: 279.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.048, allocations: 7.375 kB / 1.093 GB, free: 279.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/1.051, allocations: 0.5447 MB / 1.093 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/1.051, allocations: 13.62 kB / 1.093 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/1.051, allocations: 61.52 kB / 1.093 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/1.051, allocations: 16.75 kB / 1.093 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.051, allocations: 14.25 kB / 1.093 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/1.056, allocations: 4.818 MB / 1.098 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/1.057, allocations: 0.6275 MB / 1.099 GB, free: 276.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.057, allocations: 62.98 kB / 1.099 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.059, allocations: 60.8 kB / 1.099 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.059, allocations: 174 kB / 1.099 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.059, allocations: 88.3 kB / 1.099 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009794/1.06, allocations: 0.9879 MB / 1.1 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 3.969 kB / 1.1 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001573/1.062, allocations: 0.9935 MB / 1.101 GB, free: 276.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.006112/1.068, allocations: 5.668 MB / 1.107 GB, free: 272.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.078, allocations: 5.89 MB / 1.112 GB, free: 267.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.078, allocations: 3.75 kB / 1.112 GB, free: 267.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.08, allocations: 1.558 MB / 1.114 GB, free: 265.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/1.085, allocations: 1.341 MB / 1.115 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/1.107, allocations: 22.51 MB / 1.137 GB, free: 241 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.108, allocations: 1.994 MB / 1.139 GB, free: 239 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002402/1.11, allocations: 0.8933 MB / 1.14 GB, free: 238.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.111, allocations: 1.12 MB / 1.141 GB, free: 237 MB / 0.7637 GB Notification: Performance of SimCode: time 2.41e-07/1.111, allocations: 0 / 1.141 GB, free: 237 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/1.187, allocations: 69.5 MB / 1.209 GB, free: 168.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/10.1, allocations: 17.17 kB / 1.209 GB, free: 168.3 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)