Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001679/0.001679, allocations: 107.3 kB / 16.38 MB, free: 6.457 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.001867/0.001867, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.00154/0.00154, allocations: 71.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2345, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.4122/0.6468, allocations: 6.189 MB / 0.7908 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.8269, allocations: 152.9 MB / 0.9402 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.8286, allocations: 39.81 kB / 0.9402 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.8299, allocations: 313.1 kB / 0.9405 GB, free: 10.48 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002574/0.8325, allocations: 0.6033 MB / 0.9411 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.8357, allocations: 1.253 MB / 0.9423 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.8387, allocations: 2.297 MB / 0.9446 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.8405, allocations: 1.06 MB / 0.9456 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.8419, allocations: 0.763 MB / 0.9463 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.8431, allocations: 0.7855 MB / 0.9471 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.8436, allocations: 185.4 kB / 0.9473 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.8454, allocations: 0.8544 MB / 0.9481 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.8461, allocations: 486.5 kB / 0.9486 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.8474, allocations: 0.8937 MB / 0.9495 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.8506, allocations: 2.62 MB / 0.952 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8506, allocations: 4 kB / 0.952 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8506, allocations: 0 / 0.952 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.8507, allocations: 0 / 0.952 GB, free: 14.67 MB / 0.7481 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.003567/0.8542, allocations: 2.114 MB / 0.9541 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8543, allocations: 8.031 kB / 0.9541 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.8562, allocations: 358.3 kB / 0.9544 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.858, allocations: 1.231 MB / 0.9556 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.8581, allocations: 98.64 kB / 0.9557 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.8583, allocations: 135.9 kB / 0.9559 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.8609, allocations: 1.5 MB / 0.9573 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.8609, allocations: 1.688 kB / 0.9573 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.8611, allocations: 60 kB / 0.9574 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.8611, allocations: 32 kB / 0.9574 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.8645, allocations: 2.031 MB / 0.9594 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007223/0.8717, allocations: 4.341 MB / 0.9636 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.8748, allocations: 1.419 MB / 0.965 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8759, allocations: 0.5374 MB / 0.9655 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.876, allocations: 65.17 kB / 0.9656 GB, free: 444 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.8776, allocations: 0.7852 MB / 0.9664 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=136): time 3.747e-06/0.8776, allocations: 0 / 0.9664 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=136): time 0.006297/0.8839, allocations: 2.111 MB / 0.9684 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.8841, allocations: 355.2 kB / 0.9688 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.8858, allocations: 1.054 MB / 0.9698 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.886, allocations: 49.7 kB / 0.9699 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006502/0.8867, allocations: 0.5947 MB / 0.9704 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.8872, allocations: 453.4 kB / 0.9709 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005132/0.8878, allocations: 286.7 kB / 0.9711 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.888, allocations: 357.9 kB / 0.9715 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.8892, allocations: 470.3 kB / 0.9719 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.8906, allocations: 0.6535 MB / 0.9726 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.8929, allocations: 1.121 MB / 0.9737 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.8929, allocations: 0 / 0.9737 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004165/0.8971, allocations: 1.515 MB / 0.9751 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.8972, allocations: 8.281 kB / 0.9751 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8972, allocations: 4 kB / 0.9752 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.8983, allocations: 169.5 kB / 0.9753 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.8995, allocations: 295.5 kB / 0.9756 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.9038, allocations: 3.292 MB / 0.9788 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.9054, allocations: 158.7 kB / 0.979 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.9056, allocations: 67.89 kB / 0.979 GB, free: 2.113 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * 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.0009654/0.9066, allocations: 387.7 kB / 0.9794 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.9071, allocations: 146.2 kB / 0.9795 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/0.9119, allocations: 1.833 MB / 0.9813 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.9119, allocations: 7.969 kB / 0.9813 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9119, allocations: 0 / 0.9813 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008213/0.9128, allocations: 441.8 kB / 0.9818 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.9131, allocations: 32 kB / 0.9818 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.9143, allocations: 104.7 kB / 0.9819 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.9145, allocations: 120.2 kB / 0.982 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003888/0.9184, allocations: 1.713 MB / 0.9837 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00445/0.9229, allocations: 2.429 MB / 0.986 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001173/0.9241, allocations: 0.6246 MB / 0.9867 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001179/0.9253, allocations: 0.7214 MB / 0.9874 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of Backend: time 3.51e-07/0.9253, allocations: 4 kB / 0.9874 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005025/0.9304, allocations: 1.734 MB / 0.9891 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of SimCode: time 0.005694/0.9361, allocations: 3.166 MB / 0.9921 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.04835/0.9845, allocations: 28.39 MB / 1.02 GB, free: 8.832 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)