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.0009748/0.0009749, allocations: 98.03 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.008553/0.008553, allocations: 168.9 kB / 16.26 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.591/1.591, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.115/3.115, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 13.59 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3835, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00886/0.3924, allocations: 6.657 MB / 1.081 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.581, allocations: 149.5 MB / 1.227 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.5828, allocations: 35.75 kB / 1.227 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.5841, allocations: 265.9 kB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.5874, allocations: 0.6589 MB / 1.228 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.5909, allocations: 1.227 MB / 1.229 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.5946, allocations: 2.472 MB / 1.231 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.5966, allocations: 0.9944 MB / 1.232 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.5982, allocations: 0.6416 MB / 1.233 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.5996, allocations: 0.7149 MB / 1.233 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.5999, allocations: 48 kB / 1.233 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.6018, allocations: 0.7957 MB / 1.234 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.6023, allocations: 354.3 kB / 1.235 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.6035, allocations: 0.8402 MB / 1.235 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.6073, allocations: 2.737 MB / 1.238 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6074, allocations: 0 / 1.238 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.005e-06/0.6074, allocations: 0 / 1.238 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.016e-05/0.6074, allocations: 0 / 1.238 GB, free: 15.01 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.004414/0.6118, allocations: 1.981 MB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6119, allocations: 8.031 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.6139, allocations: 398.1 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.6159, allocations: 1.287 MB / 1.242 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.616, allocations: 102.9 kB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.6162, allocations: 140 kB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.6193, allocations: 1.658 MB / 1.244 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.6193, allocations: 4 kB / 1.244 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.6195, allocations: 67.98 kB / 1.244 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.6195, allocations: 36 kB / 1.244 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004253/0.6238, allocations: 2.17 MB / 1.246 GB, free: 6.957 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.008438/0.6323, allocations: 5.012 MB / 1.251 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.6357, allocations: 1.625 MB / 1.252 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6308/1.267, allocations: 0.5958 MB / 1.253 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/1.267, allocations: 62.89 kB / 1.253 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.269, allocations: 0.9504 MB / 1.254 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.297e-06/1.269, allocations: 0.5312 kB / 1.254 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.006581/1.275, allocations: 2.404 MB / 1.256 GB, free: 180 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.276, allocations: 357.9 kB / 1.256 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.277, allocations: 1.159 MB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.278, allocations: 59.2 kB / 1.258 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006026/1.278, allocations: 0.6544 MB / 1.258 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/1.279, allocations: 0.4948 MB / 1.259 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/1.279, allocations: 124.2 kB / 1.259 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.279, allocations: 305.7 kB / 1.259 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.28, allocations: 0.5379 MB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/1.281, allocations: 0.7414 MB / 1.26 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/1.283, allocations: 1.253 MB / 1.262 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.283, allocations: 6.453 kB / 1.262 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003685/1.287, allocations: 1.723 MB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.287, allocations: 5.656 kB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.287, allocations: 7.656 kB / 1.263 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/1.288, allocations: 158.4 kB / 1.264 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.289, allocations: 337.2 kB / 1.264 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/1.292, allocations: 3.073 MB / 1.267 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.294, allocations: 214.1 kB / 1.267 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.294, allocations: 74.03 kB / 1.267 GB, free: 173.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.0008928/1.295, allocations: 413.6 kB / 1.268 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/1.296, allocations: 173 kB / 1.268 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/1.301, allocations: 2.179 MB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.301, allocations: 22.58 kB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.301, allocations: 4.938 kB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/1.301, allocations: 16.17 kB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/1.303, allocations: 1.608 MB / 1.271 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.303, allocations: 1.281 kB / 1.271 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.304, allocations: 292.7 kB / 1.272 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/1.305, allocations: 172.3 kB / 1.272 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/1.305, allocations: 47.53 kB / 1.272 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/1.309, allocations: 3.125 MB / 1.275 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.309, allocations: 0.7812 kB / 1.275 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/1.315, allocations: 1.84 MB / 1.277 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.316, allocations: 498.9 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/1.317, allocations: 39.5 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.318, allocations: 168.6 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004966/1.319, allocations: 136.3 kB / 1.278 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.319, allocations: 69.78 kB / 1.278 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001907/1.321, allocations: 0.8022 MB / 1.278 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.321, allocations: 0 / 1.278 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002261/1.323, allocations: 0.5258 MB / 1.279 GB, free: 167.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.001929/1.325, allocations: 0.6555 MB / 1.28 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004693/1.33, allocations: 1.693 MB / 1.281 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/1.33, allocations: 1.25 kB / 1.281 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.332, allocations: 1.051 MB / 1.282 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.335, allocations: 0.5349 MB / 1.283 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/1.342, allocations: 3.852 MB / 1.287 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.344, allocations: 1.339 MB / 1.288 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002653/1.347, allocations: 0.5161 MB / 1.288 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/1.348, allocations: 198.3 kB / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.348, allocations: 0 / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05329/1.401, allocations: 26.93 MB / 1.315 GB, free: 146.8 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)