Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001088/0.001088, allocations: 195.7 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 72.44 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2603, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005597/0.2659, allocations: 4.041 MB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.697/0.9629, allocations: 147.8 MB / 0.931 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.9642, allocations: 21.41 kB / 0.931 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008147/0.965, allocations: 123.6 kB / 0.9311 GB, free: 5.32 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001856/0.967, allocations: 345.9 kB / 0.9315 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.9689, allocations: 0.5986 MB / 0.932 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.9704, allocations: 0.9907 MB / 0.933 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.9713, allocations: 490.9 kB / 0.9335 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.9718, allocations: 300.4 kB / 0.9338 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.9724, allocations: 339.5 kB / 0.9341 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.48e-05/0.9725, allocations: 38 kB / 0.9341 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.973, allocations: 240.7 kB / 0.9343 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.9733, allocations: 181.7 kB / 0.9345 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.9737, allocations: 376.8 kB / 0.9349 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.9749, allocations: 1.13 MB / 0.936 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9749, allocations: 0 / 0.936 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.92e-07/0.975, allocations: 0 / 0.936 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.975, allocations: 0 / 0.936 GB, free: 5.129 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002063/0.977, allocations: 1.152 MB / 0.9371 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9771, allocations: 8.562 kB / 0.9371 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.9774, allocations: 97.86 kB / 0.9372 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.9784, allocations: 0.6574 MB / 0.9379 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.9784, allocations: 45.94 kB / 0.9379 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.9785, allocations: 62.34 kB / 0.938 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.9796, allocations: 0.6935 MB / 0.9386 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.9796, allocations: 0 / 0.9386 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.9797, allocations: 31.91 kB / 0.9387 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.9797, allocations: 15.75 kB / 0.9387 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.981, allocations: 0.9127 MB / 0.9396 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.984, allocations: 2.318 MB / 0.9418 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.9849, allocations: 0.5983 MB / 0.9424 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.9852, allocations: 228.8 kB / 0.9426 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.9852, allocations: 27.28 kB / 0.9427 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/0.9858, allocations: 342.2 kB / 0.943 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 2.384e-06/0.9859, allocations: 1.203 kB / 0.943 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001128/0.987, allocations: 0.7124 MB / 0.9437 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.9871, allocations: 243.1 kB / 0.9439 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.9878, allocations: 0.5745 MB / 0.9445 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.9878, allocations: 40.17 kB / 0.9445 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.9881, allocations: 325.9 kB / 0.9448 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.9882, allocations: 208.5 kB / 0.945 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.9884, allocations: 135.5 kB / 0.9452 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9886, allocations: 375.8 kB / 0.9455 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.9889, allocations: 189.9 kB / 0.9457 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.9892, allocations: 294.3 kB / 0.946 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.99, allocations: 475.7 kB / 0.9464 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.99, allocations: 1.875 kB / 0.9464 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001102/0.9911, allocations: 0.6048 MB / 0.947 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9911, allocations: 7.625 kB / 0.947 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9912, allocations: 5.312 kB / 0.947 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.9912, allocations: 5.094 kB / 0.947 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.9917, allocations: 126.1 kB / 0.9472 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.9918, allocations: 5.406 kB / 0.9472 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.9923, allocations: 71.78 kB / 0.9472 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.9923, allocations: 37.22 kB / 0.9473 GB, free: 17.34 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.9927, allocations: 245.5 kB / 0.9475 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.9928, allocations: 72.31 kB / 0.9476 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.9942, allocations: 0.7455 MB / 0.9483 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9942, allocations: 16 kB / 0.9483 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.9942, allocations: 0.5625 kB / 0.9483 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.9942, allocations: 6.094 kB / 0.9483 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.9953, allocations: 0.8816 MB / 0.9492 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9953, allocations: 5.234 kB / 0.9492 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.9957, allocations: 115 kB / 0.9493 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.9957, allocations: 4.922 kB / 0.9493 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.9958, allocations: 19.98 kB / 0.9493 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9958, allocations: 4.156 kB / 0.9493 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9958, allocations: 4.031 kB / 0.9493 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.997, allocations: 0.6353 MB / 0.9499 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.9973, allocations: 241.4 kB / 0.9502 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.9974, allocations: 15.5 kB / 0.9502 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.9978, allocations: 50.41 kB / 0.9502 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.998, allocations: 46.66 kB / 0.9503 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.998, allocations: 27.5 kB / 0.9503 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006557/0.9987, allocations: 422.5 kB / 0.9507 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9987, allocations: 1.859 kB / 0.9507 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008212/0.9995, allocations: 223.6 kB / 0.9509 GB, free: 16.35 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/1.001, allocations: 0.5523 MB / 0.9515 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008535/1.002, allocations: 0.4978 MB / 0.952 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.002, allocations: 0 / 0.952 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/1.002, allocations: 282.8 kB / 0.9522 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/1.003, allocations: 234.1 kB / 0.9524 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.005, allocations: 1.609 MB / 0.954 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.006, allocations: 0.9486 MB / 0.9549 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007031/1.007, allocations: 250.9 kB / 0.9552 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/1.007, allocations: 89.02 kB / 0.9553 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/1.007, allocations: 1.188 kB / 0.9553 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.01814/1.025, allocations: 10.54 MB / 0.9656 GB, free: 13.66 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)