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.001082/0.001083, allocations: 108 kB / 15.6 MB, free: 124 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.00103/0.00103, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 270.7 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.9368/0.9368, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003383/0.003384, allocations: 98.95 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1485, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.5059/0.6544, allocations: 284.2 MB / 0.9579 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.6772, allocations: 17.32 MB / 0.9748 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.6796, allocations: 67.69 kB / 0.9748 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.6833, allocations: 1.717 MB / 0.9765 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.6958, allocations: 5.895 MB / 0.9823 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006221/0.702, allocations: 2.788 MB / 0.985 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006861/0.7089, allocations: 6.585 MB / 0.9914 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.7118, allocations: 2.553 MB / 0.9939 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.715, allocations: 2.453 MB / 0.9963 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.7181, allocations: 2.398 MB / 0.9986 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004253/0.7185, allocations: 300 kB / 0.9989 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.7287, allocations: 5.943 MB / 1.005 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.7299, allocations: 1.301 MB / 1.006 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.7317, allocations: 1.704 MB / 1.008 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.7404, allocations: 6.389 MB / 1.014 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7404, allocations: 0 / 1.014 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.908e-06/0.7404, allocations: 3.984 kB / 1.014 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.293e-05/0.7404, allocations: 0 / 1.014 GB, free: 1.234 MB / 0.7169 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.008275/0.7487, allocations: 3.752 MB / 1.018 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7488, allocations: 8.031 kB / 1.018 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003961/0.7492, allocations: 349.9 kB / 1.018 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.7544, allocations: 0.8082 MB / 1.019 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.757, allocations: 1.645 MB / 1.02 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.7572, allocations: 184.8 kB / 1.02 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.7575, allocations: 243.9 kB / 1.021 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.7622, allocations: 3.095 MB / 1.024 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.7623, allocations: 4 kB / 1.024 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.7625, allocations: 104 kB / 1.024 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.7626, allocations: 132.7 kB / 1.024 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/0.7674, allocations: 2.845 MB / 1.027 GB, free: 3.82 MB / 0.7325 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.01306/0.7805, allocations: 12.18 MB / 1.039 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.7837, allocations: 2.276 MB / 1.041 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.7856, allocations: 1.253 MB / 1.042 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.7867, allocations: 1.367 MB / 1.043 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.7868, allocations: 64.55 kB / 1.043 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=197): time 3.517e-06/0.7868, allocations: 0 / 1.043 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197): time 0.004783/0.7916, allocations: 2.832 MB / 1.046 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.7917, allocations: 69.41 kB / 1.046 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.7932, allocations: 1.316 MB / 1.048 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.7933, allocations: 61.7 kB / 1.048 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/0.794, allocations: 0.9594 MB / 1.049 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.7945, allocations: 0.6736 MB / 1.049 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.795, allocations: 303.4 kB / 1.05 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.7951, allocations: 301.1 kB / 1.05 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.7964, allocations: 0.7847 MB / 1.051 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.7978, allocations: 0.9724 MB / 1.052 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.8006, allocations: 1.869 MB / 1.053 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8006, allocations: 0 / 1.053 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003378/0.804, allocations: 2.163 MB / 1.055 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.804, allocations: 4 kB / 1.055 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.804, allocations: 4 kB / 1.055 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.8041, allocations: 11.94 kB / 1.056 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.8057, allocations: 383.4 kB / 1.056 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.8057, allocations: 8.344 kB / 1.056 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.8073, allocations: 146.4 kB / 1.056 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.8074, allocations: 59.98 kB / 1.056 GB, free: 4.219 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.0008658/0.8083, allocations: 0.5923 MB / 1.057 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.8086, allocations: 189.8 kB / 1.057 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.8123, allocations: 2.265 MB / 1.059 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.8123, allocations: 23.94 kB / 1.059 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8123, allocations: 0 / 1.059 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2244/1.037, allocations: 1.868 MB / 1.061 GB, free: 293 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/1.045, allocations: 5.098 MB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.045, allocations: 2.688 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.047, allocations: 423 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/1.047, allocations: 13.12 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/1.047, allocations: 53.5 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/1.047, allocations: 9.609 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.047, allocations: 3.25 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/1.051, allocations: 3.407 MB / 1.07 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/1.052, allocations: 0.503 MB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/1.052, allocations: 40.34 kB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.054, allocations: 57.95 kB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/1.054, allocations: 133.8 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.054, allocations: 63.08 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001099/1.055, allocations: 0.9099 MB / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.055, allocations: 0 / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001567/1.057, allocations: 0.8486 MB / 1.072 GB, free: 289.1 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.005107/1.062, allocations: 4.226 MB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00634/1.068, allocations: 3.153 MB / 1.079 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.068, allocations: 2.656 kB / 1.079 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/1.07, allocations: 1.081 MB / 1.08 GB, free: 285.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/1.075, allocations: 1.251 MB / 1.082 GB, free: 285.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.095, allocations: 17.88 MB / 1.099 GB, free: 276.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/1.096, allocations: 1.827 MB / 1.101 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002266/1.098, allocations: 0.6177 MB / 1.102 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.1, allocations: 0.9678 MB / 1.102 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/1.1, allocations: 0 / 1.102 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07538/1.175, allocations: 60.65 MB / 1.162 GB, free: 217.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.87, allocations: 12.67 kB / 1.162 GB, free: 217.3 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)