Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.838/1.838, allocations: 285.4 MB / 298 MB, free: 6.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 180.8 kB / 366.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009214/0.0009207, allocations: 89 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.055e-05/5.07e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9089, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.904, allocations: 2.072 GB / 3.042 GB, free: 68.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/5.905, allocations: 87.95 kB / 3.043 GB, free: 68.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7145/6.619, allocations: 92.82 MB / 3.133 GB, free: 311.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/6.619, allocations: 0 / 3.133 GB, free: 311.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001777/6.619, allocations: 40.88 kB / 3.133 GB, free: 311.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.003964/6.623, allocations: 1.621 MB / 3.135 GB, free: 310.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/6.623, allocations: 14.23 kB / 3.135 GB, free: 310.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/6.626, allocations: 369.9 kB / 3.135 GB, free: 310.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/6.628, allocations: 1.008 MB / 3.136 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/6.629, allocations: 105.9 kB / 3.136 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/6.629, allocations: 126.3 kB / 3.136 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/6.632, allocations: 1.442 MB / 3.138 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/6.632, allocations: 0.6562 kB / 3.138 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/6.632, allocations: 57.41 kB / 3.138 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/6.632, allocations: 32.31 kB / 3.138 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/6.637, allocations: 1.941 MB / 3.14 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/6.647, allocations: 4.481 MB / 3.144 GB, free: 308.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/6.65, allocations: 1.35 MB / 3.145 GB, free: 308.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/6.651, allocations: 0.4954 MB / 3.146 GB, free: 308.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/6.651, allocations: 59.7 kB / 3.146 GB, free: 308.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/6.652, allocations: 0.7491 MB / 3.147 GB, free: 308.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 5.35e-06/6.652, allocations: 0 / 3.147 GB, free: 308.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.003539/6.656, allocations: 1.306 MB / 3.148 GB, free: 307.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/6.656, allocations: 463.8 kB / 3.148 GB, free: 307.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/6.658, allocations: 1.034 MB / 3.149 GB, free: 307.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/6.658, allocations: 53.95 kB / 3.149 GB, free: 307.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/6.659, allocations: 0.6017 MB / 3.15 GB, free: 306.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/6.659, allocations: 450.3 kB / 3.15 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/6.659, allocations: 24.75 kB / 3.151 GB, free: 306.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/6.659, allocations: 347.7 kB / 3.151 GB, free: 305.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/6.66, allocations: 394.2 kB / 3.151 GB, free: 305.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/6.661, allocations: 0.6093 MB / 3.152 GB, free: 305.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/6.662, allocations: 495.3 kB / 3.152 GB, free: 305.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/6.662, allocations: 1.156 kB / 3.152 GB, free: 305.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003174/6.665, allocations: 1.336 MB / 3.154 GB, free: 304.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/6.665, allocations: 5.688 kB / 3.154 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/6.665, allocations: 2.625 kB / 3.154 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/6.666, allocations: 167.9 kB / 3.154 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/6.667, allocations: 271.3 kB / 3.154 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/6.671, allocations: 3.063 MB / 3.157 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/6.673, allocations: 152.5 kB / 3.157 GB, free: 301.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/6.673, allocations: 57.41 kB / 3.157 GB, free: 301.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004856/6.673, allocations: 189.3 kB / 3.157 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/6.674, allocations: 146.2 kB / 3.158 GB, free: 301.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/6.679, allocations: 1.905 MB / 3.159 GB, free: 300.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/6.679, allocations: 15.66 kB / 3.159 GB, free: 300.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/6.679, allocations: 2.812 kB / 3.159 GB, free: 300.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/6.679, allocations: 7.906 kB / 3.159 GB, free: 300.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/6.682, allocations: 1.517 MB / 3.161 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/6.682, allocations: 4.359 kB / 3.161 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/6.683, allocations: 276.7 kB / 3.161 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009569/6.684, allocations: 172.4 kB / 3.161 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/6.684, allocations: 42.88 kB / 3.161 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/6.687, allocations: 3.109 MB / 3.164 GB, free: 297.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/6.687, allocations: 5.562 kB / 3.164 GB, free: 297.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/6.691, allocations: 1.544 MB / 3.166 GB, free: 296.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/6.692, allocations: 481.8 kB / 3.166 GB, free: 296.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/6.693, allocations: 32.62 kB / 3.166 GB, free: 296.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/6.694, allocations: 134.6 kB / 3.167 GB, free: 296.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/6.694, allocations: 120.8 kB / 3.167 GB, free: 296.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/6.694, allocations: 58.08 kB / 3.167 GB, free: 296.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001663/6.696, allocations: 0.821 MB / 3.168 GB, free: 295.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/6.696, allocations: 4 kB / 3.168 GB, free: 295.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002277/6.698, allocations: 0.5209 MB / 3.168 GB, free: 295.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/6.701, allocations: 1.073 MB / 3.169 GB, free: 295.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003058/6.704, allocations: 1.346 MB / 3.17 GB, free: 294.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/6.704, allocations: 4 kB / 3.17 GB, free: 294.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/6.706, allocations: 0.9119 MB / 3.171 GB, free: 294.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/6.708, allocations: 465.9 kB / 3.172 GB, free: 294.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/6.716, allocations: 2.509 MB / 3.174 GB, free: 293.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/6.717, allocations: 1.323 MB / 3.175 GB, free: 292.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002173/6.719, allocations: 0.4944 MB / 3.176 GB, free: 292.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/6.719, allocations: 178.7 kB / 3.176 GB, free: 292.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/6.719, allocations: 0 / 3.176 GB, free: 292.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05183/6.771, allocations: 33.55 MB / 3.209 GB, free: 280.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)