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.755/1.755, allocations: 288.3 MB / 303.2 MB, free: 8.227 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.001698/0.001698, allocations: 177.6 kB / 371.8 MB, free: 10.3 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.688/1.688, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 104.3 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 13.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005649/0.2577, allocations: 5.215 MB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7503/1.008, allocations: 129.4 MB / 1.111 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/1.009, allocations: 33.75 kB / 1.111 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/1.01, allocations: 124 kB / 1.111 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/1.013, allocations: 0.629 MB / 1.112 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/1.017, allocations: 0.9599 MB / 1.113 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003701/1.02, allocations: 1.437 MB / 1.114 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.022, allocations: 0.7335 MB / 1.115 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/1.023, allocations: 0.5489 MB / 1.115 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008904/1.024, allocations: 0.5312 MB / 1.116 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/1.025, allocations: 41.66 kB / 1.116 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/1.026, allocations: 0.644 MB / 1.116 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/1.026, allocations: 307.5 kB / 1.117 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004017/1.027, allocations: 304.4 kB / 1.117 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/1.029, allocations: 1.901 MB / 1.119 GB, free: 17.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.029, allocations: 0 / 1.119 GB, free: 17.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.895e-06/1.029, allocations: 1.312 kB / 1.119 GB, free: 17.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.617e-05/1.029, allocations: 0 / 1.119 GB, free: 17.07 MB / 0.698 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.003538/1.033, allocations: 1.785 MB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.033, allocations: 9.875 kB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/1.035, allocations: 377.3 kB / 1.121 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/1.037, allocations: 1.141 MB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/1.037, allocations: 97.14 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/1.038, allocations: 126.8 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/1.04, allocations: 1.502 MB / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/1.04, allocations: 0 / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.041, allocations: 61.06 kB / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.041, allocations: 30.84 kB / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/1.044, allocations: 2.038 MB / 1.126 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007943/1.052, allocations: 4.46 MB / 1.13 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/1.055, allocations: 1.441 MB / 1.132 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.055, allocations: 61.42 kB / 1.132 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/1.056, allocations: 0.7844 MB / 1.132 GB, free: 11.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.797e-06/1.056, allocations: 1.25 kB / 1.132 GB, free: 11.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.006009/1.062, allocations: 2.129 MB / 1.135 GB, free: 11.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/1.062, allocations: 354.6 kB / 1.135 GB, free: 10.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.064, allocations: 1.04 MB / 1.136 GB, free: 10.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/1.064, allocations: 49.7 kB / 1.136 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/1.065, allocations: 0.6161 MB / 1.137 GB, free: 10.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.065, allocations: 447.6 kB / 1.137 GB, free: 9.953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/1.065, allocations: 25.59 kB / 1.137 GB, free: 9.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.065, allocations: 354.6 kB / 1.137 GB, free: 9.629 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/1.066, allocations: 435.3 kB / 1.138 GB, free: 9.566 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.068, allocations: 0.6473 MB / 1.138 GB, free: 9.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.069, allocations: 0.5174 MB / 1.139 GB, free: 9.227 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.069, allocations: 4 kB / 1.139 GB, free: 9.223 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003564/1.072, allocations: 1.423 MB / 1.14 GB, free: 8.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.072, allocations: 6.188 kB / 1.14 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.072, allocations: 6.844 kB / 1.14 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.074, allocations: 165.7 kB / 1.14 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.075, allocations: 279.7 kB / 1.141 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/1.079, allocations: 3.074 MB / 1.144 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.08, allocations: 174.9 kB / 1.144 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.08, allocations: 56.8 kB / 1.144 GB, free: 5.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * 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.0008842/1.081, allocations: 379.2 kB / 1.144 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.081, allocations: 143.9 kB / 1.144 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/1.086, allocations: 2.001 MB / 1.146 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.086, allocations: 16.09 kB / 1.146 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.086, allocations: 1.125 kB / 1.146 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/1.086, allocations: 11.95 kB / 1.146 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/1.089, allocations: 1.476 MB / 1.148 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.089, allocations: 0 / 1.148 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.09, allocations: 281.5 kB / 1.148 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009569/1.091, allocations: 166.4 kB / 1.148 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-05/1.091, allocations: 44.94 kB / 1.148 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/1.095, allocations: 3.139 MB / 1.151 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.095, allocations: 1 kB / 1.151 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/1.099, allocations: 1.646 MB / 1.153 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.1, allocations: 453.3 kB / 1.153 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/1.1, allocations: 36.72 kB / 1.153 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.102, allocations: 139.8 kB / 1.154 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/1.102, allocations: 116 kB / 1.154 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.102, allocations: 57.22 kB / 1.154 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001584/1.104, allocations: 0.7267 MB / 1.154 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.104, allocations: 0 / 1.154 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002212/1.106, allocations: 446.7 kB / 1.155 GB, free: 0.5 MB / 0.698 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) * Number of clocked states: 0 () * 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.00185/1.108, allocations: 0.5885 MB / 1.155 GB, free: 228 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003586/1.111, allocations: 1.448 MB / 1.157 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.111, allocations: 0 / 1.157 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.113, allocations: 0.9538 MB / 1.158 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.115, allocations: 474.7 kB / 1.158 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/1.124, allocations: 3.679 MB / 1.162 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.125, allocations: 1.311 MB / 1.163 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002241/1.127, allocations: 0.4974 MB / 1.164 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/1.128, allocations: 179.8 kB / 1.164 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/1.128, allocations: 0 / 1.164 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.04441/1.172, allocations: 23.35 MB / 1.187 GB, free: 10.45 MB / 0.7292 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)