Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.419/2.419, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 184.1 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.589/2.589, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008957/0.0008952, allocations: 84.66 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004607, allocations: 12.59 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2031, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008245/0.2114, allocations: 5.35 MB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2126/0.4241, allocations: 139 MB / 1.04 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4256, allocations: 35.81 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.4267, allocations: 226.1 kB / 1.04 GB, free: 408 kB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.002914/0.4297, allocations: 0.49 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.4342, allocations: 0.9693 MB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.4384, allocations: 2.02 MB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.4408, allocations: 0.9294 MB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.4425, allocations: 0.5444 MB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.444, allocations: 0.5752 MB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004242/0.4444, allocations: 44 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.4467, allocations: 0.6592 MB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007235/0.4475, allocations: 310.6 kB / 1.047 GB, free: 9.836 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007074/0.4482, allocations: 304.7 kB / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.4523, allocations: 1.89 MB / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4524, allocations: 0 / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4524, allocations: 0 / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.473e-05/0.4525, allocations: 3.938 kB / 1.049 GB, free: 7.633 MB / 0.698 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.005903/0.4584, allocations: 1.789 MB / 1.051 GB, free: 5.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4585, allocations: 8.031 kB / 1.051 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.462, allocations: 374.3 kB / 1.051 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.4654, allocations: 1.138 MB / 1.052 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.4656, allocations: 98.62 kB / 1.052 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.466, allocations: 128 kB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008718/0.4747, allocations: 1.508 MB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.4749, allocations: 0 / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004977/0.4754, allocations: 60 kB / 1.054 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.4755, allocations: 32 kB / 1.054 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.4862, allocations: 2.035 MB / 1.056 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7285/1.215, allocations: 4.438 MB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/1.222, allocations: 1.432 MB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/1.226, allocations: 0.5358 MB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/1.226, allocations: 60.97 kB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004128/1.23, allocations: 0.804 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 9.327e-06/1.23, allocations: 0 / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01547/1.246, allocations: 2.118 MB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/1.246, allocations: 356.6 kB / 1.065 GB, free: 153.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/1.25, allocations: 1.04 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004769/1.25, allocations: 52.62 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/1.251, allocations: 0.5978 MB / 1.067 GB, free: 153.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/1.252, allocations: 451.1 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/1.253, allocations: 26.59 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.253, allocations: 360 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/1.256, allocations: 480.2 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/1.26, allocations: 0.6585 MB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.263, allocations: 0.5485 MB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/1.264, allocations: 0.8438 kB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0113/1.275, allocations: 1.52 MB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/1.275, allocations: 6.906 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/1.275, allocations: 6.25 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/1.278, allocations: 168.5 kB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/1.282, allocations: 294 kB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/1.29, allocations: 3.072 MB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/1.294, allocations: 178.1 kB / 1.074 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005581/1.294, allocations: 68.14 kB / 1.075 GB, free: 149.3 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002081/1.297, allocations: 391.3 kB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/1.297, allocations: 141.6 kB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.311, allocations: 2.006 MB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.538e-05/1.311, allocations: 16.16 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/1.311, allocations: 0 / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-05/1.311, allocations: 9.672 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/1.316, allocations: 1.457 MB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.095e-05/1.316, allocations: 6.094 kB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/1.32, allocations: 286.4 kB / 1.079 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/1.323, allocations: 165.8 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000435/1.323, allocations: 50.12 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/1.331, allocations: 3.104 MB / 1.082 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.331, allocations: 5.5 kB / 1.082 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009641/1.34, allocations: 1.622 MB / 1.084 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.342, allocations: 458.4 kB / 1.084 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/1.343, allocations: 29.98 kB / 1.084 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.346, allocations: 142.1 kB / 1.084 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/1.347, allocations: 122.6 kB / 1.084 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003064/1.347, allocations: 59.88 kB / 1.084 GB, free: 143 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002465/1.35, allocations: 0.7193 MB / 1.085 GB, free: 142.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/1.35, allocations: 0 / 1.085 GB, free: 142.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003156/1.353, allocations: 454.9 kB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002845/1.356, allocations: 0.5982 MB / 1.086 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007897/1.364, allocations: 1.512 MB / 1.088 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.364, allocations: 1.375 kB / 1.088 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004998/1.369, allocations: 0.9576 MB / 1.088 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006042/1.375, allocations: 495.3 kB / 1.089 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/1.392, allocations: 3.69 MB / 1.093 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.393, allocations: 1.287 MB / 1.094 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004087/1.398, allocations: 499.5 kB / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.399, allocations: 187.3 kB / 1.094 GB, free: 136.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.399, allocations: 0 / 1.094 GB, free: 136.5 MB / 0.698 GB Notification: Performance of Templates: time 0.08369/1.483, allocations: 23.31 MB / 1.117 GB, free: 113.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)