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.005356/0.005356, allocations: 98.36 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.001447/0.001447, allocations: 198.1 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 286.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 91.84 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4535, allocations: 89.15 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.2979/0.7515, allocations: 284.2 MB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.7766, allocations: 17.31 MB / 1.076 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.7795, allocations: 67.69 kB / 1.076 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.4173/1.197, allocations: 1.713 MB / 1.078 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/1.21, allocations: 5.89 MB / 1.083 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006621/1.217, allocations: 2.806 MB / 1.086 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009397/1.227, allocations: 6.576 MB / 1.092 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/1.23, allocations: 2.556 MB / 1.095 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/1.235, allocations: 2.455 MB / 1.097 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/1.239, allocations: 2.402 MB / 1.1 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/1.239, allocations: 299.3 kB / 1.1 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.25, allocations: 5.941 MB / 1.106 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/1.252, allocations: 1.302 MB / 1.107 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/1.254, allocations: 1.706 MB / 1.109 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/1.264, allocations: 6.46 MB / 1.115 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.264, allocations: 0.9375 kB / 1.115 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/1.264, allocations: 0 / 1.115 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.883e-05/1.264, allocations: 0.8438 kB / 1.115 GB, free: 1.527 MB / 0.8262 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.007894/1.272, allocations: 3.85 MB / 1.119 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.272, allocations: 9.062 kB / 1.119 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/1.273, allocations: 348.7 kB / 1.119 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/1.277, allocations: 0.8225 MB / 1.12 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/1.28, allocations: 1.724 MB / 1.122 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.28, allocations: 185.3 kB / 1.122 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/1.281, allocations: 247.1 kB / 1.122 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/1.285, allocations: 3.094 MB / 1.125 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/1.285, allocations: 5.688 kB / 1.125 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/1.285, allocations: 101.3 kB / 1.125 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.285, allocations: 135.4 kB / 1.125 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/1.289, allocations: 2.841 MB / 1.128 GB, free: 14.82 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.01269/1.302, allocations: 12.13 MB / 1.14 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/1.305, allocations: 2.287 MB / 1.142 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/1.307, allocations: 1.247 MB / 1.143 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.308, allocations: 1.367 MB / 1.145 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.308, allocations: 57.31 kB / 1.145 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=197): time 3.937e-06/1.308, allocations: 0.875 kB / 1.145 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197): time 0.004228/1.312, allocations: 2.83 MB / 1.148 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.312, allocations: 76.83 kB / 1.148 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.314, allocations: 1.324 MB / 1.149 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.314, allocations: 63.42 kB / 1.149 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/1.314, allocations: 0.9655 MB / 1.15 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005725/1.315, allocations: 0.7114 MB / 1.151 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/1.315, allocations: 302.5 kB / 1.151 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.315, allocations: 306 kB / 1.151 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.317, allocations: 0.783 MB / 1.152 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.318, allocations: 0.9654 MB / 1.153 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/1.32, allocations: 1.874 MB / 1.155 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.32, allocations: 0 / 1.155 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002915/1.323, allocations: 2.167 MB / 1.157 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.323, allocations: 11.72 kB / 1.157 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.323, allocations: 2.469 kB / 1.157 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.323, allocations: 12.34 kB / 1.157 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/1.325, allocations: 370.3 kB / 1.157 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.325, allocations: 10.31 kB / 1.157 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.326, allocations: 156.6 kB / 1.157 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.326, allocations: 62.03 kB / 1.157 GB, free: 3.863 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.0008699/1.327, allocations: 0.5906 MB / 1.158 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/1.327, allocations: 208.1 kB / 1.158 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/1.331, allocations: 2.26 MB / 1.16 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.331, allocations: 20.72 kB / 1.16 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.331, allocations: 1.094 kB / 1.16 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002394/1.333, allocations: 1.879 MB / 1.162 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/1.34, allocations: 5.109 MB / 1.167 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.34, allocations: 3.375 kB / 1.167 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.341, allocations: 426.6 kB / 1.168 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.341, allocations: 8.625 kB / 1.168 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.342, allocations: 52.56 kB / 1.168 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.342, allocations: 9.75 kB / 1.168 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.342, allocations: 2.25 kB / 1.168 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/1.346, allocations: 3.421 MB / 1.171 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/1.347, allocations: 0.5085 MB / 1.172 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/1.347, allocations: 47.88 kB / 1.172 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.349, allocations: 49.06 kB / 1.172 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/1.349, allocations: 130.2 kB / 1.172 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.349, allocations: 66.84 kB / 1.172 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001105/1.35, allocations: 0.9059 MB / 1.173 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.42e-07/1.35, allocations: 0 / 1.173 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001811/1.352, allocations: 0.8558 MB / 1.174 GB, free: 0.8125 MB / 0.8419 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.005767/1.358, allocations: 4.238 MB / 1.178 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003131/1.361, allocations: 1.979 MB / 1.18 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.361, allocations: 0 / 1.18 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.362, allocations: 1.089 MB / 1.181 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/1.368, allocations: 1.25 MB / 1.182 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/1.391, allocations: 16.55 MB / 1.198 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.392, allocations: 1.828 MB / 1.2 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002082/1.394, allocations: 0.622 MB / 1.2 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.396, allocations: 0.9718 MB / 1.201 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/1.396, allocations: 0 / 1.201 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.5, allocations: 61.17 MB / 1.261 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.95, allocations: 4.062 kB / 1.261 GB, free: 11.57 MB / 0.9356 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)