Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001104/0.001104, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001125/0.001124, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.02 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009648/0.3399, allocations: 7.151 MB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.5238, allocations: 151.2 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.5262, allocations: 35.81 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.5273, allocations: 265.9 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.5306, allocations: 0.6792 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.5343, allocations: 1.246 MB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003688/0.538, allocations: 2.647 MB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.5397, allocations: 1.045 MB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.5417, allocations: 0.8798 MB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.5431, allocations: 0.9155 MB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.5434, allocations: 212 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.5455, allocations: 0.952 MB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.546, allocations: 0.5296 MB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.547, allocations: 1.026 MB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.5509, allocations: 2.913 MB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5509, allocations: 4 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5509, allocations: 4 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.551, allocations: 0 / 1.235 GB, free: 14.48 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.004619/0.5556, allocations: 2.366 MB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5557, allocations: 8.031 kB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.5577, allocations: 378.1 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.5596, allocations: 1.279 MB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/0.5596, allocations: 106.9 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.5599, allocations: 139.9 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.5629, allocations: 1.654 MB / 1.241 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.563, allocations: 4 kB / 1.241 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.5631, allocations: 64 kB / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.5632, allocations: 36 kB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.5667, allocations: 2.146 MB / 1.243 GB, free: 6.098 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.007961/0.5747, allocations: 4.948 MB / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6653/1.24, allocations: 1.608 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/1.242, allocations: 0.5889 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.242, allocations: 64.8 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/1.244, allocations: 0.9355 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 4.128e-06/1.244, allocations: 0 / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.007027/1.251, allocations: 2.375 MB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.252, allocations: 361.3 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.253, allocations: 1.163 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.253, allocations: 58.42 kB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/1.254, allocations: 0.6576 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/1.254, allocations: 499.9 kB / 1.256 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/1.255, allocations: 314.7 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/1.255, allocations: 307.3 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.256, allocations: 0.5282 MB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/1.257, allocations: 0.7366 MB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/1.259, allocations: 1.245 MB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.259, allocations: 0.5625 kB / 1.259 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003791/1.263, allocations: 1.692 MB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.263, allocations: 9 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.263, allocations: 6.562 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/1.264, allocations: 160.9 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.266, allocations: 330.1 kB / 1.261 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/1.269, allocations: 3.3 MB / 1.265 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.271, allocations: 185.9 kB / 1.265 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.271, allocations: 73.47 kB / 1.265 GB, free: 176 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.00085/1.272, allocations: 423.5 kB / 1.265 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.272, allocations: 166.5 kB / 1.265 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/1.277, allocations: 2.174 MB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.277, allocations: 18.53 kB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.277, allocations: 1.688 kB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.277, allocations: 11.91 kB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/1.28, allocations: 1.608 MB / 1.269 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.28, allocations: 1.562 kB / 1.269 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.281, allocations: 288.7 kB / 1.269 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000871/1.282, allocations: 150 kB / 1.27 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.282, allocations: 52.23 kB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/1.285, allocations: 3.34 MB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.285, allocations: 1.719 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/1.29, allocations: 1.828 MB / 1.275 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000831/1.291, allocations: 468.8 kB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/1.291, allocations: 43.59 kB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.292, allocations: 128.1 kB / 1.275 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/1.292, allocations: 142.9 kB / 1.275 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.292, allocations: 69.62 kB / 1.275 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001175/1.294, allocations: 0.8015 MB / 1.276 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.294, allocations: 0 / 1.276 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001634/1.295, allocations: 0.5263 MB / 1.277 GB, free: 169.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.001465/1.297, allocations: 0.6574 MB / 1.277 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005052/1.302, allocations: 2.063 MB / 1.279 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.302, allocations: 1.031 kB / 1.279 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.304, allocations: 1.044 MB / 1.28 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.307, allocations: 0.5844 MB / 1.281 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/1.313, allocations: 3.833 MB / 1.285 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.315, allocations: 1.337 MB / 1.286 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002284/1.317, allocations: 0.5188 MB / 1.287 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/1.318, allocations: 199.5 kB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.944e-06/1.318, allocations: 3.938 kB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04508/1.363, allocations: 28.18 MB / 1.314 GB, free: 146.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)