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: translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00131/0.00131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 259.1 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.995/0.995, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 15.03 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.6125/0.792, allocations: 259.6 MB / 0.938 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02765/0.8197, allocations: 16.21 MB / 0.9538 GB, free: 12.31 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.8242, allocations: 63.62 kB / 0.9539 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005837/0.83, allocations: 1.122 MB / 0.955 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01687/0.8469, allocations: 4.295 MB / 0.9592 GB, free: 6.809 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00719/0.8541, allocations: 1.982 MB / 0.9611 GB, free: 4.832 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01108/0.8652, allocations: 8.07 MB / 0.969 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004262/0.8695, allocations: 1.926 MB / 0.9709 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005612/0.8752, allocations: 2.125 MB / 0.9729 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004912/0.8801, allocations: 2.312 MB / 0.9752 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.8813, allocations: 144 kB / 0.9753 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.894, allocations: 3.102 MB / 0.9784 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.8966, allocations: 1.137 MB / 0.9795 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.8992, allocations: 0.6096 MB / 0.9801 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008905/0.9081, allocations: 4.251 MB / 0.9842 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.9081, allocations: 0 / 0.9842 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9081, allocations: 4 kB / 0.9842 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002001/0.9083, allocations: 0 / 0.9842 GB, free: 13.07 MB / 0.7012 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.01022/0.9186, allocations: 3.219 MB / 0.9874 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9186, allocations: 15.97 kB / 0.9874 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005844/0.9245, allocations: 0.8082 MB / 0.9882 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.9281, allocations: 1.591 MB / 0.9897 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.9283, allocations: 180.8 kB / 0.9899 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.9287, allocations: 240 kB / 0.9901 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.9339, allocations: 3.075 MB / 0.9931 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.934, allocations: 11.84 kB / 0.9931 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.9342, allocations: 104 kB / 0.9932 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.9343, allocations: 132.7 kB / 0.9934 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.939, allocations: 2.829 MB / 0.9961 GB, free: 0.625 MB / 0.7012 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.0136/0.9526, allocations: 12.07 MB / 1.008 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.9558, allocations: 2.267 MB / 1.01 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.9578, allocations: 1.23 MB / 1.011 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.9595, allocations: 1.375 MB / 1.013 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/0.9596, allocations: 56.56 kB / 1.013 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=197): time 5.19e-06/0.9597, allocations: 0 / 1.013 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197): time 0.005448/0.9651, allocations: 2.817 MB / 1.015 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.9652, allocations: 73.41 kB / 1.016 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.967, allocations: 1.308 MB / 1.017 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.9671, allocations: 65.64 kB / 1.017 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.9679, allocations: 0.9516 MB / 1.018 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007218/0.9687, allocations: 0.6698 MB / 1.018 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.9688, allocations: 36 kB / 1.018 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.969, allocations: 373.9 kB / 1.019 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.9702, allocations: 0.773 MB / 1.02 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.9716, allocations: 0.9685 MB / 1.021 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.973, allocations: 0.908 MB / 1.021 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.973, allocations: 0 / 1.021 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003505/0.9765, allocations: 2.147 MB / 1.024 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9766, allocations: 4 kB / 1.024 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9766, allocations: 4 kB / 1.024 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.9766, allocations: 12 kB / 1.024 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.9782, allocations: 375.4 kB / 1.024 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.9783, allocations: 12 kB / 1.024 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9805, allocations: 330.3 kB / 1.024 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.9806, allocations: 60 kB / 1.024 GB, free: 2.234 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.9818, allocations: 0.5994 MB / 1.025 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.9822, allocations: 197.7 kB / 1.025 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.986, allocations: 2.252 MB / 1.027 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.986, allocations: 20 kB / 1.027 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.986, allocations: 0 / 1.027 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002737/0.9888, allocations: 1.866 MB / 1.029 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008572/0.9973, allocations: 5.09 MB / 1.034 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.9974, allocations: 0 / 1.034 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.9992, allocations: 431.8 kB / 1.034 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.9993, allocations: 11.94 kB / 1.035 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.9994, allocations: 51.98 kB / 1.035 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.9994, allocations: 11.94 kB / 1.035 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9995, allocations: 4 kB / 1.035 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/1.005, allocations: 3.404 MB / 1.038 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.006, allocations: 0.4945 MB / 1.038 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/1.006, allocations: 40 kB / 1.038 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.008, allocations: 209.1 kB / 1.039 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/1.008, allocations: 133.7 kB / 1.039 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.008, allocations: 63.98 kB / 1.039 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00132/1.009, allocations: 0.8966 MB / 1.04 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.01, allocations: 3.938 kB / 1.04 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00218/1.012, allocations: 0.8493 MB / 1.041 GB, free: 1.402 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/1.012, allocations: 387 kB / 1.041 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3275/1.34, allocations: 1.951 MB / 1.043 GB, free: 277 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.34, allocations: 1.656 kB / 1.043 GB, free: 277 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.342, allocations: 1.075 MB / 1.044 GB, free: 276.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.349, allocations: 1.201 MB / 1.045 GB, free: 276.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/1.358, allocations: 6.44 MB / 1.051 GB, free: 273.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.359, allocations: 1.829 MB / 1.053 GB, free: 272.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003284/1.362, allocations: 0.6245 MB / 1.054 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/1.363, allocations: 175.2 kB / 1.054 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.363, allocations: 0 / 1.054 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.0701/1.433, allocations: 41.17 MB / 1.094 GB, free: 251.9 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)