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.001317/0.001317, 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.00123/0.00123, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002312/0.002312, allocations: 278.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9057/0.9057, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 93.77 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.6126/0.7642, allocations: 299.1 MB / 0.9723 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.7854, allocations: 15.31 MB / 0.9873 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.7879, allocations: 71.69 kB / 0.9874 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.792, allocations: 1.732 MB / 0.989 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.8053, allocations: 5.921 MB / 0.9948 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006896/0.8122, allocations: 2.801 MB / 0.9976 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008219/0.8204, allocations: 7.122 MB / 1.005 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/0.8242, allocations: 2.698 MB / 1.007 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.8283, allocations: 2.613 MB / 1.01 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.8327, allocations: 2.63 MB / 1.012 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008752/0.8336, allocations: 344 kB / 1.013 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.8442, allocations: 5.74 MB / 1.018 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.846, allocations: 1.512 MB / 1.02 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.8491, allocations: 1.929 MB / 1.022 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009549/0.8587, allocations: 6.798 MB / 1.028 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.8587, allocations: 0 / 1.028 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8587, allocations: 0 / 1.028 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.8587, allocations: 4 kB / 1.028 GB, free: 2.547 MB / 0.7325 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.008734/0.8675, allocations: 4.168 MB / 1.032 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.8675, allocations: 8.031 kB / 1.032 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004431/0.868, allocations: 400.5 kB / 1.033 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.8731, allocations: 0.843 MB / 1.033 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.8759, allocations: 1.794 MB / 1.035 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.8761, allocations: 217.4 kB / 1.035 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.8765, allocations: 280 kB / 1.036 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00552/0.882, allocations: 3.631 MB / 1.039 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/0.8821, allocations: 11.91 kB / 1.039 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.8823, allocations: 116 kB / 1.039 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.8825, allocations: 149.4 kB / 1.04 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005776/0.8883, allocations: 3.726 MB / 1.043 GB, free: 2.98 MB / 0.7481 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.01406/0.9024, allocations: 13.34 MB / 1.056 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.9068, allocations: 3.227 MB / 1.059 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2361/1.143, allocations: 1.776 MB / 1.061 GB, free: 293.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.144, allocations: 1.587 MB / 1.063 GB, free: 291.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.144, allocations: 65.5 kB / 1.063 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=285): time 4.208e-06/1.144, allocations: 0 / 1.063 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285): time 0.006795/1.151, allocations: 4.042 MB / 1.067 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.151, allocations: 83.53 kB / 1.067 GB, free: 290.7 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.153, allocations: 1.426 MB / 1.068 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.153, allocations: 87.55 kB / 1.068 GB, free: 290.1 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/1.154, allocations: 1.003 MB / 1.069 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/1.154, allocations: 0.9679 MB / 1.07 GB, free: 288.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/1.155, allocations: 411.7 kB / 1.071 GB, free: 288.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/1.155, allocations: 311.6 kB / 1.071 GB, free: 288.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.156, allocations: 1.137 MB / 1.072 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.158, allocations: 1.383 MB / 1.073 GB, free: 287.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.161, allocations: 2.72 MB / 1.076 GB, free: 286 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.161, allocations: 0 / 1.076 GB, free: 286 MB / 0.7637 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004338/1.166, allocations: 3.056 MB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.166, allocations: 8.156 kB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.166, allocations: 3.625 kB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/1.166, allocations: 17.38 kB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.168, allocations: 0.5066 MB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/1.168, allocations: 19.28 kB / 1.079 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.17, allocations: 201.3 kB / 1.08 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/1.17, allocations: 80.52 kB / 1.08 GB, free: 284.6 MB / 0.7637 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.0009708/1.171, allocations: 0.693 MB / 1.08 GB, free: 284.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/1.171, allocations: 235.4 kB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/1.177, allocations: 3.212 MB / 1.084 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.177, allocations: 28.12 kB / 1.084 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.177, allocations: 0 / 1.084 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003779/1.18, allocations: 2.651 MB / 1.086 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/1.189, allocations: 6.636 MB / 1.093 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.189, allocations: 8.281 kB / 1.093 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.191, allocations: 0.5439 MB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.192, allocations: 11.72 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.192, allocations: 66.83 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/1.192, allocations: 24.12 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.192, allocations: 2.594 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/1.197, allocations: 4.815 MB / 1.098 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/1.198, allocations: 0.6309 MB / 1.099 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.198, allocations: 51.81 kB / 1.099 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.2, allocations: 64.75 kB / 1.099 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.2, allocations: 173.7 kB / 1.099 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.2, allocations: 98.16 kB / 1.099 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009896/1.201, allocations: 0.9861 MB / 1.1 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/1.201, allocations: 0 / 1.1 GB, free: 275.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001659/1.203, allocations: 0.9971 MB / 1.101 GB, free: 275.6 MB / 0.7637 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.006067/1.209, allocations: 5.667 MB / 1.107 GB, free: 272.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00981/1.219, allocations: 5.891 MB / 1.112 GB, free: 267.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.219, allocations: 4 kB / 1.112 GB, free: 267.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.22, allocations: 1.554 MB / 1.114 GB, free: 265.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/1.225, allocations: 1.338 MB / 1.115 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.248, allocations: 22.52 MB / 1.137 GB, free: 240.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.249, allocations: 1.99 MB / 1.139 GB, free: 238.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00249/1.252, allocations: 0.8965 MB / 1.14 GB, free: 238.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.253, allocations: 1.12 MB / 1.141 GB, free: 236.9 MB / 0.7637 GB Notification: Performance of SimCode: time 9.62e-07/1.253, allocations: 0 / 1.141 GB, free: 236.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.942/6.195, allocations: 69.5 MB / 1.209 GB, free: 168.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/22.13, allocations: 19.17 kB / 1.209 GB, free: 168.3 MB / 0.7637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)