Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",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.004997/0.004997, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002295/0.002295, allocations: 278.7 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 100.4 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1576, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.6072/0.7649, allocations: 284.3 MB / 1.043 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.7886, allocations: 17.32 MB / 1.06 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.792, allocations: 67.69 kB / 1.06 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.7968, allocations: 1.787 MB / 1.062 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.8122, allocations: 6.071 MB / 1.068 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.8196, allocations: 2.842 MB / 1.071 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008773/0.8284, allocations: 6.584 MB / 1.077 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003757/0.8322, allocations: 2.565 MB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/0.8374, allocations: 2.519 MB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.8419, allocations: 2.398 MB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007491/0.8427, allocations: 300 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.8545, allocations: 5.974 MB / 1.091 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.8565, allocations: 1.301 MB / 1.092 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003033/0.8596, allocations: 1.707 MB / 1.094 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4517/1.311, allocations: 6.45 MB / 1.1 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.311, allocations: 1.141 kB / 1.1 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/1.311, allocations: 0 / 1.1 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001322/1.312, allocations: 1.844 kB / 1.1 GB, free: 21.77 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.0121/1.324, allocations: 3.847 MB / 1.104 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.324, allocations: 11.5 kB / 1.104 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005315/1.324, allocations: 347.7 kB / 1.104 GB, free: 20.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/1.33, allocations: 0.8259 MB / 1.105 GB, free: 19.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/1.334, allocations: 1.719 MB / 1.107 GB, free: 19.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.334, allocations: 180.3 kB / 1.107 GB, free: 19.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/1.335, allocations: 252.7 kB / 1.107 GB, free: 19.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005764/1.34, allocations: 3.096 MB / 1.11 GB, free: 19.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/1.341, allocations: 5.578 kB / 1.11 GB, free: 19.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/1.341, allocations: 98.78 kB / 1.11 GB, free: 19.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/1.341, allocations: 141.2 kB / 1.11 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/1.346, allocations: 2.837 MB / 1.113 GB, free: 19.09 MB / 0.8419 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.0157/1.362, allocations: 12.13 MB / 1.125 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/1.365, allocations: 2.284 MB / 1.127 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/1.367, allocations: 1.248 MB / 1.128 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009569/1.368, allocations: 1.37 MB / 1.13 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.368, allocations: 57.47 kB / 1.13 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=197): time 4.419e-06/1.368, allocations: 0 / 1.13 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197): time 0.005509/1.374, allocations: 2.841 MB / 1.132 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.374, allocations: 73.19 kB / 1.133 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.376, allocations: 1.317 MB / 1.134 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/1.376, allocations: 62.45 kB / 1.134 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/1.377, allocations: 0.9665 MB / 1.135 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/1.377, allocations: 0.7124 MB / 1.136 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005227/1.378, allocations: 300 kB / 1.136 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/1.378, allocations: 308 kB / 1.136 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.379, allocations: 0.7849 MB / 1.137 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.38, allocations: 0.9688 MB / 1.138 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/1.383, allocations: 1.868 MB / 1.14 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.383, allocations: 2.156 kB / 1.14 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003752/1.387, allocations: 2.169 MB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.387, allocations: 9.375 kB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.387, allocations: 3.75 kB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.387, allocations: 11.75 kB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.389, allocations: 374.6 kB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/1.389, allocations: 12.5 kB / 1.142 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.391, allocations: 144.2 kB / 1.142 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.391, allocations: 68.41 kB / 1.142 GB, free: 8.156 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.001158/1.392, allocations: 0.5961 MB / 1.143 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.393, allocations: 205.9 kB / 1.143 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/1.396, allocations: 2.256 MB / 1.145 GB, free: 23.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.396, allocations: 22.41 kB / 1.145 GB, free: 23.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.396, allocations: 0 / 1.145 GB, free: 23.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002443/1.399, allocations: 1.876 MB / 1.147 GB, free: 23.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/1.407, allocations: 5.107 MB / 1.152 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.407, allocations: 2.688 kB / 1.152 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.409, allocations: 428.7 kB / 1.153 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.409, allocations: 8.344 kB / 1.153 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.409, allocations: 49.03 kB / 1.153 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/1.409, allocations: 10.84 kB / 1.153 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.409, allocations: 3.031 kB / 1.153 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/1.413, allocations: 3.416 MB / 1.156 GB, free: 22.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.415, allocations: 0.5127 MB / 1.157 GB, free: 22.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.415, allocations: 42.34 kB / 1.157 GB, free: 22.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.417, allocations: 53 kB / 1.157 GB, free: 22.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/1.417, allocations: 133.4 kB / 1.157 GB, free: 22.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.417, allocations: 62.39 kB / 1.157 GB, free: 22.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001223/1.418, allocations: 0.9087 MB / 1.158 GB, free: 22.33 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.012e-06/1.418, allocations: 0.9375 kB / 1.158 GB, free: 22.33 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002026/1.42, allocations: 0.8516 MB / 1.159 GB, free: 22.21 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (201): * Single equations (assignments): 201 * 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.005075/1.425, allocations: 4.233 MB / 1.163 GB, free: 21.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003057/1.428, allocations: 1.981 MB / 1.165 GB, free: 21.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.428, allocations: 4.062 kB / 1.165 GB, free: 21.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/1.43, allocations: 1.078 MB / 1.166 GB, free: 21.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/1.436, allocations: 1.254 MB / 1.167 GB, free: 21.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.459, allocations: 16.56 MB / 1.183 GB, free: 17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.46, allocations: 1.836 MB / 1.185 GB, free: 16.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002462/1.463, allocations: 0.6206 MB / 1.185 GB, free: 16.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.464, allocations: 0.9733 MB / 1.186 GB, free: 16.09 MB / 0.8575 GB Notification: Performance of SimCode: time 1.613e-06/1.464, allocations: 0 / 1.186 GB, free: 16.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.566, allocations: 61.15 MB / 1.246 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.71, allocations: 14.53 kB / 1.246 GB, free: 13.78 MB / 0.9044 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam_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_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)