Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001197, allocations: 197.8 kB / 16.14 MB, free: 6.656 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.492/1.492, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001303, allocations: 67.12 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3979, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008986/0.4069, allocations: 7.155 MB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.5886, allocations: 151.1 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.5908, allocations: 31.81 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.5925, allocations: 265.8 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.5956, allocations: 0.6524 MB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.5995, allocations: 1.229 MB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003982/0.6035, allocations: 2.475 MB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.6056, allocations: 1.01 MB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.6071, allocations: 0.7586 MB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.6086, allocations: 0.8398 MB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000639/0.6093, allocations: 92 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.6113, allocations: 0.827 MB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.612, allocations: 434.1 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.6136, allocations: 0.9011 MB / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007016/0.6206, allocations: 2.816 MB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.6207, allocations: 0 / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6207, allocations: 4 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001667/0.6209, allocations: 0 / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.00978/0.6307, allocations: 2.374 MB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.6308, allocations: 8.031 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.6337, allocations: 370.1 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.637, allocations: 1.279 MB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.6372, allocations: 110.9 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/0.6375, allocations: 144 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003929/0.6415, allocations: 1.646 MB / 1.24 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.6415, allocations: 11.88 kB / 1.24 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.6417, allocations: 60 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.6417, allocations: 36 kB / 1.24 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.6458, allocations: 2.146 MB / 1.242 GB, free: 7.281 MB / 0.9981 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.008811/0.6546, allocations: 4.942 MB / 1.247 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.658, allocations: 1.619 MB / 1.248 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7044/1.362, allocations: 0.583 MB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/1.363, allocations: 65.31 kB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/1.365, allocations: 0.9364 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.677e-06/1.365, allocations: 3.875 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.007223/1.373, allocations: 2.374 MB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.373, allocations: 353.6 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/1.375, allocations: 1.16 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/1.375, allocations: 64.23 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/1.376, allocations: 0.6541 MB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/1.376, allocations: 499.2 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/1.376, allocations: 315.5 kB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/1.376, allocations: 302.8 kB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.378, allocations: 0.5331 MB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.379, allocations: 0.7346 MB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.381, allocations: 1.242 MB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/1.381, allocations: 2.656 kB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003906/1.385, allocations: 1.7 MB / 1.26 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.385, allocations: 5.25 kB / 1.26 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.385, allocations: 2.625 kB / 1.26 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.386, allocations: 166.8 kB / 1.26 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.388, allocations: 321.7 kB / 1.26 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/1.392, allocations: 3.083 MB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.394, allocations: 184 kB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/1.395, allocations: 77.52 kB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 34 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001485/1.396, allocations: 425.1 kB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/1.397, allocations: 164.8 kB / 1.264 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005912/1.403, allocations: 2.164 MB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.403, allocations: 23.3 kB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.403, allocations: 0.6562 kB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/1.403, allocations: 8.719 kB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/1.405, allocations: 1.614 MB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.405, allocations: 0 / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.407, allocations: 294.2 kB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.408, allocations: 165.1 kB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.408, allocations: 54.66 kB / 1.268 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/1.411, allocations: 3.112 MB / 1.271 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.411, allocations: 5.344 kB / 1.271 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/1.416, allocations: 1.821 MB / 1.273 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.417, allocations: 468.1 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/1.417, allocations: 39.7 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.419, allocations: 130.4 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.419, allocations: 140.1 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.419, allocations: 69.55 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001646/1.421, allocations: 0.8016 MB / 1.275 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.421, allocations: 5.531 kB / 1.275 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002039/1.423, allocations: 0.5228 MB / 1.275 GB, free: 170.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/1.425, allocations: 0.6553 MB / 1.276 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003746/1.428, allocations: 1.67 MB / 1.277 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.429, allocations: 1.219 kB / 1.277 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.431, allocations: 1.045 MB / 1.278 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.433, allocations: 0.5355 MB / 1.279 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/1.44, allocations: 3.821 MB / 1.283 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.441, allocations: 1.341 MB / 1.284 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002284/1.444, allocations: 0.5201 MB / 1.284 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/1.444, allocations: 197.8 kB / 1.285 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.444, allocations: 0 / 1.285 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05221/1.496, allocations: 27.13 MB / 1.311 GB, free: 149.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)