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.004755/0.004755, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001284/0.001284, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 290.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 178.6 MB / 0.5074 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 99.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3783, allocations: 89.14 MB / 0.7814 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.6542/1.033, allocations: 299.1 MB / 1.073 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01753/1.05, allocations: 15.3 MB / 1.088 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/1.053, allocations: 68.88 kB / 1.088 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/1.057, allocations: 1.747 MB / 1.09 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/1.07, allocations: 5.914 MB / 1.096 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00641/1.076, allocations: 2.832 MB / 1.099 GB, free: 412 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008999/1.085, allocations: 7.12 MB / 1.106 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/1.089, allocations: 2.709 MB / 1.108 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/1.094, allocations: 2.617 MB / 1.111 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/1.099, allocations: 2.616 MB / 1.113 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006824/1.1, allocations: 341.5 kB / 1.114 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/1.111, allocations: 5.743 MB / 1.119 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/1.113, allocations: 1.505 MB / 1.121 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003467/1.116, allocations: 1.933 MB / 1.123 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/1.13, allocations: 6.873 MB / 1.129 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.13, allocations: 0 / 1.129 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.835e-06/1.13, allocations: 0 / 1.129 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001076/1.13, allocations: 1.875 kB / 1.129 GB, free: 14.97 MB / 0.7794 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.01082/1.141, allocations: 4.263 MB / 1.134 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.141, allocations: 15.97 kB / 1.134 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005391/1.141, allocations: 403.2 kB / 1.134 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/1.147, allocations: 0.8631 MB / 1.135 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/1.15, allocations: 1.876 MB / 1.137 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.151, allocations: 213.5 kB / 1.137 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/1.151, allocations: 286.6 kB / 1.137 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006667/1.158, allocations: 3.622 MB / 1.141 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.726e-05/1.158, allocations: 15.03 kB / 1.141 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/1.158, allocations: 115.8 kB / 1.141 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/1.158, allocations: 149.5 kB / 1.141 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/1.165, allocations: 3.733 MB / 1.145 GB, free: 15.39 MB / 0.795 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.0172/1.182, allocations: 13.27 MB / 1.158 GB, free: 1.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/1.187, allocations: 3.241 MB / 1.161 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/1.19, allocations: 1.783 MB / 1.162 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.192, allocations: 1.586 MB / 1.164 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/1.192, allocations: 64.81 kB / 1.164 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=285): time 3.968e-06/1.192, allocations: 0 / 1.164 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=285): time 0.007328/1.199, allocations: 4.055 MB / 1.168 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.199, allocations: 81.66 kB / 1.168 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/1.201, allocations: 1.435 MB / 1.169 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.202, allocations: 73.7 kB / 1.17 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/1.202, allocations: 1.02 MB / 1.171 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.203, allocations: 1.016 MB / 1.172 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/1.204, allocations: 417 kB / 1.172 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.204, allocations: 305.1 kB / 1.172 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/1.206, allocations: 1.141 MB / 1.173 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/1.209, allocations: 1.389 MB / 1.175 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/1.213, allocations: 2.71 MB / 1.177 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.213, allocations: 0 / 1.177 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005639/1.219, allocations: 3.076 MB / 1.18 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.219, allocations: 4 kB / 1.18 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.219, allocations: 4 kB / 1.18 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/1.219, allocations: 16 kB / 1.18 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.221, allocations: 0.5148 MB / 1.181 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-05/1.221, allocations: 16 kB / 1.181 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.223, allocations: 198.4 kB / 1.181 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.223, allocations: 83.98 kB / 1.181 GB, free: 8.562 MB / 0.8262 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.001421/1.225, allocations: 0.6973 MB / 1.182 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007073/1.226, allocations: 242.5 kB / 1.182 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/1.231, allocations: 3.218 MB / 1.185 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.232, allocations: 28 kB / 1.185 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.232, allocations: 0 / 1.185 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004286/1.236, allocations: 2.646 MB / 1.188 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.247, allocations: 6.642 MB / 1.194 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.247, allocations: 0 / 1.194 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.25, allocations: 0.5483 MB / 1.195 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.152e-05/1.25, allocations: 16 kB / 1.195 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.25, allocations: 67.98 kB / 1.195 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/1.25, allocations: 12 kB / 1.195 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.25, allocations: 0 / 1.195 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007635/1.258, allocations: 4.851 MB / 1.2 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.259, allocations: 0.6315 MB / 1.2 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/1.26, allocations: 52 kB / 1.2 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.261, allocations: 68.62 kB / 1.2 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/1.262, allocations: 180.5 kB / 1.201 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.262, allocations: 83.98 kB / 1.201 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001447/1.263, allocations: 0.9891 MB / 1.202 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/1.263, allocations: 0 / 1.202 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002166/1.265, allocations: 1.006 MB / 1.203 GB, free: 2.324 MB / 0.8419 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.008334/1.274, allocations: 5.676 MB / 1.208 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00467/1.278, allocations: 2.857 MB / 1.211 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.278, allocations: 4.75 kB / 1.211 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/1.281, allocations: 1.559 MB / 1.212 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006006/1.287, allocations: 1.328 MB / 1.214 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/1.323, allocations: 20.6 MB / 1.234 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.325, allocations: 1.99 MB / 1.236 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002877/1.328, allocations: 0.8985 MB / 1.237 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.329, allocations: 1.12 MB / 1.238 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of SimCode: time 1.112e-06/1.329, allocations: 0 / 1.238 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.45, allocations: 70.11 MB / 1.306 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.74, allocations: 3.625 kB / 1.306 GB, free: 8.793 MB / 0.9512 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)