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.00573/0.00573, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.001596/0.001596, allocations: 186 kB / 16.67 MB, free: 5.934 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 285.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 103.8 kB / 0.681 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3665, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.637/1.004, allocations: 299.1 MB / 1.058 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01939/1.023, allocations: 15.31 MB / 1.073 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/1.026, allocations: 77 kB / 1.073 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/1.03, allocations: 1.736 MB / 1.075 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/1.043, allocations: 5.924 MB / 1.08 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007038/1.05, allocations: 2.819 MB / 1.083 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008726/1.059, allocations: 7.122 MB / 1.09 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004154/1.063, allocations: 2.705 MB / 1.093 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/1.068, allocations: 2.62 MB / 1.095 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/1.073, allocations: 2.62 MB / 1.098 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007674/1.074, allocations: 340 kB / 1.098 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.086, allocations: 5.745 MB / 1.104 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002131/1.088, allocations: 1.51 MB / 1.105 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003292/1.092, allocations: 1.928 MB / 1.107 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/1.105, allocations: 6.878 MB / 1.114 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.105, allocations: 3.984 kB / 1.114 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.392e-06/1.105, allocations: 3.938 kB / 1.114 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.122e-05/1.105, allocations: 0 / 1.114 GB, free: 15.07 MB / 0.7637 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.01074/1.116, allocations: 4.262 MB / 1.118 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.116, allocations: 12.03 kB / 1.118 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005929/1.116, allocations: 395.9 kB / 1.119 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/1.122, allocations: 0.8662 MB / 1.119 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/1.126, allocations: 1.877 MB / 1.121 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/1.126, allocations: 212.1 kB / 1.121 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005058/1.126, allocations: 279.5 kB / 1.122 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/1.133, allocations: 3.646 MB / 1.125 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/1.133, allocations: 11.83 kB / 1.125 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/1.134, allocations: 120.5 kB / 1.125 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/1.134, allocations: 149.5 kB / 1.126 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007026/1.141, allocations: 3.722 MB / 1.129 GB, free: 15.39 MB / 0.7794 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.01831/1.159, allocations: 13.26 MB / 1.142 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/1.164, allocations: 3.241 MB / 1.145 GB, free: 13.94 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/1.167, allocations: 1.783 MB / 1.147 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/1.169, allocations: 1.592 MB / 1.149 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/1.169, allocations: 60.81 kB / 1.149 GB, free: 10.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=285): time 4.329e-06/1.169, allocations: 0 / 1.149 GB, free: 10.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=285): time 0.007754/1.177, allocations: 4.048 MB / 1.153 GB, free: 6.066 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.177, allocations: 81.66 kB / 1.153 GB, free: 5.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/1.179, allocations: 1.435 MB / 1.154 GB, free: 4.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/1.18, allocations: 81.7 kB / 1.154 GB, free: 4.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/1.181, allocations: 1.022 MB / 1.155 GB, free: 3.418 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.182, allocations: 1.014 MB / 1.156 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007303/1.182, allocations: 413 kB / 1.157 GB, free: 2.004 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.182, allocations: 305.1 kB / 1.157 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/1.185, allocations: 1.141 MB / 1.158 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/1.187, allocations: 1.386 MB / 1.159 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/1.192, allocations: 2.721 MB / 1.162 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/1.192, allocations: 11.88 kB / 1.162 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005704/1.197, allocations: 3.062 MB / 1.165 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.197, allocations: 12.06 kB / 1.165 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.197, allocations: 0 / 1.165 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.197, allocations: 16 kB / 1.165 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.2, allocations: 0.5071 MB / 1.165 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/1.2, allocations: 16 kB / 1.165 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.202, allocations: 198.4 kB / 1.166 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.202, allocations: 91.92 kB / 1.166 GB, free: 8.371 MB / 0.8106 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.001306/1.203, allocations: 0.6962 MB / 1.166 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/1.204, allocations: 242.5 kB / 1.167 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.21, allocations: 3.211 MB / 1.17 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.21, allocations: 28 kB / 1.17 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/1.21, allocations: 0 / 1.17 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/1.214, allocations: 2.646 MB / 1.172 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.226, allocations: 6.634 MB / 1.179 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.226, allocations: 0 / 1.179 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/1.229, allocations: 0.5465 MB / 1.179 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/1.229, allocations: 12 kB / 1.179 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.229, allocations: 67.98 kB / 1.179 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/1.229, allocations: 15.98 kB / 1.179 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.229, allocations: 7.938 kB / 1.18 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007925/1.237, allocations: 4.844 MB / 1.184 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.239, allocations: 0.6354 MB / 1.185 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/1.239, allocations: 55.98 kB / 1.185 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.24, allocations: 59.98 kB / 1.185 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/1.241, allocations: 177.9 kB / 1.185 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.241, allocations: 91.97 kB / 1.185 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001469/1.242, allocations: 0.9852 MB / 1.186 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/1.242, allocations: 0 / 1.186 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002102/1.245, allocations: 1.002 MB / 1.187 GB, free: 2.059 MB / 0.8262 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.008742/1.253, allocations: 5.681 MB / 1.193 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004857/1.258, allocations: 2.861 MB / 1.196 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.258, allocations: 0 / 1.196 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002438/1.261, allocations: 1.562 MB / 1.197 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/1.266, allocations: 1.33 MB / 1.198 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.3, allocations: 20.6 MB / 1.218 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.302, allocations: 1.994 MB / 1.22 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003002/1.305, allocations: 0.8946 MB / 1.221 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/1.307, allocations: 1.116 MB / 1.222 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/1.307, allocations: 0 / 1.222 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.436, allocations: 70.12 MB / 1.291 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.28, allocations: 15.58 kB / 1.291 GB, free: 8.238 MB / 0.9356 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)