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.001126/0.001126, allocations: 108 kB / 15.61 MB, free: 152 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.001301/0.001302, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 290.9 kB / 290.7 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.9978/0.9978, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 98.78 kB / 0.5952 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.202, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.7345/0.9366, allocations: 284.2 MB / 0.9577 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.9647, allocations: 17.33 MB / 0.9747 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004758/0.9696, allocations: 71.69 kB / 0.9747 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005586/0.9752, allocations: 1.701 MB / 0.9764 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01748/0.9927, allocations: 5.899 MB / 0.9822 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008023/1.001, allocations: 2.792 MB / 0.9849 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01054/1.011, allocations: 6.574 MB / 0.9913 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/1.016, allocations: 2.562 MB / 0.9938 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/1.022, allocations: 2.449 MB / 0.9962 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/1.027, allocations: 2.4 MB / 0.9985 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008596/1.028, allocations: 300 kB / 0.9988 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/1.042, allocations: 5.939 MB / 1.005 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002638/1.045, allocations: 1.301 MB / 1.006 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004758/1.049, allocations: 1.708 MB / 1.008 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.066, allocations: 6.385 MB / 1.014 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.066, allocations: 4 kB / 1.014 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/1.066, allocations: 0 / 1.014 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.855e-05/1.066, allocations: 0 / 1.014 GB, free: 1.395 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.01067/1.077, allocations: 3.749 MB / 1.017 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.077, allocations: 12.03 kB / 1.017 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/1.083, allocations: 0.813 MB / 1.018 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/1.086, allocations: 1.637 MB / 1.02 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/1.086, allocations: 184.8 kB / 1.02 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/1.086, allocations: 247.9 kB / 1.02 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005435/1.092, allocations: 3.102 MB / 1.023 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/1.092, allocations: 4 kB / 1.023 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/1.092, allocations: 99.98 kB / 1.023 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/1.092, allocations: 140.6 kB / 1.024 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004822/1.097, allocations: 2.829 MB / 1.026 GB, free: 4.332 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.01574/1.113, allocations: 12.19 MB / 1.038 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/1.116, allocations: 2.282 MB / 1.04 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/1.118, allocations: 1.249 MB / 1.042 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.119, allocations: 1.367 MB / 1.043 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.119, allocations: 52.56 kB / 1.043 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=197): time 4.499e-06/1.119, allocations: 0 / 1.043 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197): time 0.005051/1.124, allocations: 2.828 MB / 1.046 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.124, allocations: 85.28 kB / 1.046 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/1.126, allocations: 1.312 MB / 1.047 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/1.126, allocations: 61.7 kB / 1.047 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/1.127, allocations: 0.9516 MB / 1.048 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/1.128, allocations: 0.6814 MB / 1.049 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/1.128, allocations: 299.4 kB / 1.049 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.129, allocations: 301.1 kB / 1.049 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.13, allocations: 0.7847 MB / 1.05 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.131, allocations: 0.9686 MB / 1.051 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/1.134, allocations: 1.877 MB / 1.053 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.134, allocations: 0 / 1.053 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003613/1.138, allocations: 2.155 MB / 1.055 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.138, allocations: 8 kB / 1.055 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.138, allocations: 8.344 kB / 1.055 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/1.138, allocations: 11.94 kB / 1.055 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.14, allocations: 371.5 kB / 1.055 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.14, allocations: 15.94 kB / 1.055 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.142, allocations: 142.4 kB / 1.056 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.142, allocations: 63.98 kB / 1.056 GB, free: 4.727 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.00124/1.143, allocations: 0.5923 MB / 1.056 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/1.143, allocations: 197.8 kB / 1.056 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.147, allocations: 2.259 MB / 1.059 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.147, allocations: 23.94 kB / 1.059 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/1.147, allocations: 0 / 1.059 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4151/1.562, allocations: 1.871 MB / 1.06 GB, free: 292.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/1.571, allocations: 5.094 MB / 1.065 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.571, allocations: 3.281 kB / 1.065 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.573, allocations: 425 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/1.573, allocations: 9.188 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.573, allocations: 52.06 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/1.573, allocations: 9.156 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.573, allocations: 3.531 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/1.577, allocations: 3.416 MB / 1.069 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.578, allocations: 0.4941 MB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.579, allocations: 42.94 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.58, allocations: 55.83 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/1.58, allocations: 132.5 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.58, allocations: 68.52 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001461/1.582, allocations: 0.9025 MB / 1.071 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.81e-07/1.582, allocations: 0 / 1.071 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002817/1.585, allocations: 0.8416 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.0009933/1.586, allocations: 390.2 kB / 1.072 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.596, allocations: 3.151 MB / 1.075 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.596, allocations: 0 / 1.075 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.598, allocations: 1.081 MB / 1.076 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008246/1.607, allocations: 1.253 MB / 1.077 GB, free: 287.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.62, allocations: 5.31 MB / 1.083 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/1.624, allocations: 1.833 MB / 1.084 GB, free: 284.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004988/1.629, allocations: 0.6276 MB / 1.085 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.63, allocations: 173.1 kB / 1.085 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.63, allocations: 0 / 1.085 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.06655/1.696, allocations: 44.56 MB / 1.129 GB, free: 252 MB / 0.7637 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)