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.001082/0.001082, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006209/0.006209, allocations: 171 kB / 16.27 MB, free: 6.332 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 274.6 kB / 291.7 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9405/0.9405, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004575, allocations: 13.31 kB / 0.5986 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1808, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.6193/0.8001, allocations: 278.2 MB / 0.9568 GB, free: 9.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.8251, allocations: 17.34 MB / 0.9737 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.8285, allocations: 59.62 kB / 0.9738 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004543/0.8331, allocations: 1.489 MB / 0.9753 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.8479, allocations: 5.552 MB / 0.9807 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.8551, allocations: 2.563 MB / 0.9832 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.8662, allocations: 9.651 MB / 0.9926 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/0.8696, allocations: 2.106 MB / 0.9947 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004268/0.8739, allocations: 2.082 MB / 0.9967 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/0.8791, allocations: 2.41 MB / 0.999 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008476/0.88, allocations: 144 kB / 0.9992 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.8945, allocations: 6.857 MB / 1.006 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.8966, allocations: 1.134 MB / 1.007 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00308/0.8997, allocations: 1.545 MB / 1.008 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.913, allocations: 6.605 MB / 1.015 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.913, allocations: 0 / 1.015 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.913, allocations: 0 / 1.015 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001152/0.9132, allocations: 0 / 1.015 GB, free: 13.79 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.008909/0.9221, allocations: 3.199 MB / 1.018 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9221, allocations: 8.031 kB / 1.018 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005645/0.9278, allocations: 0.8043 MB / 1.019 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.9309, allocations: 1.637 MB / 1.02 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.9311, allocations: 180.8 kB / 1.021 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.9315, allocations: 244 kB / 1.021 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/0.9368, allocations: 3.11 MB / 1.024 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.9369, allocations: 7.938 kB / 1.024 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.9372, allocations: 104 kB / 1.024 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.9373, allocations: 136.7 kB / 1.024 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/0.9422, allocations: 2.833 MB / 1.027 GB, free: 1.285 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.01482/0.9571, allocations: 12.08 MB / 1.039 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.9605, allocations: 2.283 MB / 1.041 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.9624, allocations: 1.241 MB / 1.042 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3205/1.283, allocations: 1.359 MB / 1.043 GB, free: 275.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.283, allocations: 59.3 kB / 1.044 GB, free: 275.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=197): time 4.528e-06/1.283, allocations: 1.375 kB / 1.044 GB, free: 275.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197): time 0.006372/1.289, allocations: 2.825 MB / 1.046 GB, free: 275.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/1.29, allocations: 75.53 kB / 1.046 GB, free: 275.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.292, allocations: 1.319 MB / 1.048 GB, free: 275.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/1.292, allocations: 63.38 kB / 1.048 GB, free: 275.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/1.293, allocations: 0.9543 MB / 1.049 GB, free: 274.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005993/1.293, allocations: 0.6745 MB / 1.049 GB, free: 273.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.293, allocations: 141.9 kB / 1.049 GB, free: 273.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/1.294, allocations: 307.5 kB / 1.05 GB, free: 273.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.295, allocations: 0.7807 MB / 1.05 GB, free: 273.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/1.296, allocations: 0.967 MB / 1.051 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/1.299, allocations: 1.871 MB / 1.053 GB, free: 272 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.299, allocations: 3.406 kB / 1.053 GB, free: 272 MB / 0.7481 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003253/1.302, allocations: 2.16 MB / 1.055 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.302, allocations: 6.594 kB / 1.055 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.302, allocations: 1.219 kB / 1.055 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.302, allocations: 16.91 kB / 1.055 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.304, allocations: 373.5 kB / 1.056 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.304, allocations: 11.27 kB / 1.056 GB, free: 271.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.306, allocations: 329.9 kB / 1.056 GB, free: 270.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/1.306, allocations: 64.66 kB / 1.056 GB, free: 270.9 MB / 0.7481 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.001391/1.308, allocations: 0.5925 MB / 1.057 GB, free: 270.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/1.308, allocations: 194.5 kB / 1.057 GB, free: 270.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/1.312, allocations: 2.261 MB / 1.059 GB, free: 269.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/1.313, allocations: 24.97 kB / 1.059 GB, free: 269.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.313, allocations: 0.5156 kB / 1.059 GB, free: 269.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002792/1.315, allocations: 1.876 MB / 1.061 GB, free: 268.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008652/1.324, allocations: 5.095 MB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.324, allocations: 2.156 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.326, allocations: 432.7 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/1.326, allocations: 10.17 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.326, allocations: 49.94 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.326, allocations: 9.406 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.326, allocations: 5.344 kB / 1.066 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/1.332, allocations: 3.404 MB / 1.07 GB, free: 265 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.333, allocations: 0.5085 MB / 1.07 GB, free: 264.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.333, allocations: 40.97 kB / 1.07 GB, free: 264.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.335, allocations: 205.5 kB / 1.07 GB, free: 264.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.335, allocations: 127.5 kB / 1.071 GB, free: 264.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.335, allocations: 71.44 kB / 1.071 GB, free: 264.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001281/1.337, allocations: 0.9053 MB / 1.072 GB, free: 264.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.337, allocations: 1.062 kB / 1.072 GB, free: 264.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002053/1.339, allocations: 0.8494 MB / 1.072 GB, free: 264 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 (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.0007501/1.34, allocations: 377 kB / 1.073 GB, free: 263.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003206/1.343, allocations: 1.975 MB / 1.075 GB, free: 263.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.343, allocations: 0.9375 kB / 1.075 GB, free: 263.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/1.344, allocations: 1.079 MB / 1.076 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/1.35, allocations: 1.201 MB / 1.077 GB, free: 262.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/1.358, allocations: 6.632 MB / 1.083 GB, free: 258.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.359, allocations: 1.832 MB / 1.085 GB, free: 257.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002402/1.361, allocations: 0.6233 MB / 1.086 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/1.362, allocations: 172.4 kB / 1.086 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/1.362, allocations: 4 kB / 1.086 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.05629/1.418, allocations: 42.46 MB / 1.127 GB, free: 217.8 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)