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.001598/0.001598, 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.001325/0.001325, allocations: 192.7 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003275/0.003275, allocations: 285.9 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 95.17 kB / 0.6065 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1489, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.5633/0.7122, allocations: 284.2 MB / 0.9712 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.7385, allocations: 17.32 MB / 0.9881 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.7412, allocations: 71.62 kB / 0.9882 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004667/0.7459, allocations: 1.713 MB / 0.9898 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01425/0.7602, allocations: 5.898 MB / 0.9956 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007124/0.7673, allocations: 2.795 MB / 0.9983 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008779/0.7761, allocations: 6.574 MB / 1.005 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/0.7798, allocations: 2.553 MB / 1.007 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.784, allocations: 2.457 MB / 1.01 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.7878, allocations: 2.398 MB / 1.012 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.7883, allocations: 300 kB / 1.012 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.7998, allocations: 5.939 MB / 1.018 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.8014, allocations: 1.305 MB / 1.019 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002309/0.8037, allocations: 1.707 MB / 1.021 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.814, allocations: 6.378 MB / 1.027 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8141, allocations: 4 kB / 1.027 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8141, allocations: 0 / 1.027 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.517e-05/0.8141, allocations: 0 / 1.027 GB, free: 5.336 MB / 0.7481 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.009077/0.8232, allocations: 3.752 MB / 1.031 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8232, allocations: 12.02 kB / 1.031 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004616/0.8237, allocations: 346 kB / 1.031 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.8292, allocations: 0.8237 MB / 1.032 GB, free: 340 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.8321, allocations: 1.633 MB / 1.034 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.8323, allocations: 184.8 kB / 1.034 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.8327, allocations: 247.9 kB / 1.034 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/0.838, allocations: 3.091 MB / 1.037 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.8381, allocations: 7.938 kB / 1.037 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.8384, allocations: 99.98 kB / 1.037 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.8385, allocations: 140.7 kB / 1.037 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.8438, allocations: 2.833 MB / 1.04 GB, free: 7.922 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.2457/1.089, allocations: 12.18 MB / 1.052 GB, free: 277.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.093, allocations: 2.28 MB / 1.054 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.095, allocations: 1.247 MB / 1.055 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/1.096, allocations: 1.364 MB / 1.057 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.096, allocations: 60.34 kB / 1.057 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=197): time 4.037e-06/1.096, allocations: 0 / 1.057 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=197): time 0.004913/1.101, allocations: 2.825 MB / 1.06 GB, free: 273.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.101, allocations: 78.12 kB / 1.06 GB, free: 273.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/1.102, allocations: 1.32 MB / 1.061 GB, free: 273.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/1.102, allocations: 61.7 kB / 1.061 GB, free: 273.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/1.103, allocations: 0.9563 MB / 1.062 GB, free: 272.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/1.103, allocations: 0.6735 MB / 1.063 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.104, allocations: 298.6 kB / 1.063 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/1.104, allocations: 303 kB / 1.063 GB, free: 271.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.105, allocations: 0.7809 MB / 1.064 GB, free: 271.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.106, allocations: 0.972 MB / 1.065 GB, free: 270.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/1.109, allocations: 1.876 MB / 1.067 GB, free: 270.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.109, allocations: 1.531 kB / 1.067 GB, free: 270.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003395/1.112, allocations: 2.154 MB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.112, allocations: 9.375 kB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.112, allocations: 4.422 kB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.112, allocations: 12.59 kB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.114, allocations: 376.5 kB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.114, allocations: 14.56 kB / 1.069 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.116, allocations: 143.7 kB / 1.069 GB, free: 269.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.116, allocations: 58.62 kB / 1.069 GB, free: 269.1 MB / 0.7637 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.0009942/1.117, allocations: 0.5969 MB / 1.07 GB, free: 268.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.117, allocations: 201.6 kB / 1.07 GB, free: 268.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/1.121, allocations: 2.26 MB / 1.072 GB, free: 267.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.121, allocations: 22.59 kB / 1.072 GB, free: 267.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.121, allocations: 0 / 1.072 GB, free: 267.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/1.124, allocations: 1.87 MB / 1.074 GB, free: 266.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007833/1.132, allocations: 5.108 MB / 1.079 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.132, allocations: 2.156 kB / 1.079 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/1.134, allocations: 425.8 kB / 1.08 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.134, allocations: 9.719 kB / 1.08 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.134, allocations: 51.22 kB / 1.08 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.134, allocations: 9.062 kB / 1.08 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.134, allocations: 3.969 kB / 1.08 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.139, allocations: 3.403 MB / 1.083 GB, free: 263.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008458/1.14, allocations: 0.5046 MB / 1.083 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/1.14, allocations: 41.03 kB / 1.084 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.141, allocations: 54.73 kB / 1.084 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.141, allocations: 135.8 kB / 1.084 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.142, allocations: 68.44 kB / 1.084 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001101/1.143, allocations: 0.905 MB / 1.085 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.143, allocations: 0 / 1.085 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001744/1.144, allocations: 0.8397 MB / 1.085 GB, free: 262.2 MB / 0.7637 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.004882/1.149, allocations: 4.229 MB / 1.09 GB, free: 260.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005767/1.155, allocations: 3.15 MB / 1.093 GB, free: 259.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.155, allocations: 3.375 kB / 1.093 GB, free: 259.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.156, allocations: 1.083 MB / 1.094 GB, free: 259 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.162, allocations: 1.256 MB / 1.095 GB, free: 258.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.18, allocations: 17.88 MB / 1.112 GB, free: 243.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/1.181, allocations: 1.832 MB / 1.114 GB, free: 241.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002229/1.184, allocations: 0.6228 MB / 1.115 GB, free: 240.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.185, allocations: 0.9679 MB / 1.116 GB, free: 240 MB / 0.7637 GB Notification: Performance of SimCode: time 6.22e-07/1.185, allocations: 0 / 1.116 GB, free: 240 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/1.268, allocations: 60.65 MB / 1.175 GB, free: 180.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.561/10.83, allocations: 3.094 kB / 1.175 GB, free: 180.1 MB / 0.7637 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)