Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.001407/0.001407, allocations: 183.9 kB / 325.8 MB, free: 2.777 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.537/2.537, allocations: 205.4 MB / 0.5767 GB, free: 20.77 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.001124/0.001124, allocations: 89.98 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004539, allocations: 12.06 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006407/0.2288, allocations: 4.324 MB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2645/0.4933, allocations: 136.8 MB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4944, allocations: 15.94 kB / 1.037 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.4952, allocations: 146.7 kB / 1.037 GB, free: 3.758 MB / 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.00234/0.4975, allocations: 433.9 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.5007, allocations: 0.6915 MB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.5033, allocations: 1.362 MB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.5055, allocations: 1.016 MB / 1.04 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.5067, allocations: 425.8 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.5076, allocations: 461.2 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.5079, allocations: 28 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.509, allocations: 271.7 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.5094, allocations: 222.9 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.5099, allocations: 264.9 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.5131, allocations: 1.629 MB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5131, allocations: 0 / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.326e-06/0.5131, allocations: 0 / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.687e-05/0.5132, allocations: 0 / 1.044 GB, free: 12.96 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004701/0.5179, allocations: 1.483 MB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.518, allocations: 16.02 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.5198, allocations: 246.7 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.5221, allocations: 0.8687 MB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.5224, allocations: 136.5 kB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.5228, allocations: 140 kB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.5272, allocations: 1.424 MB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.5273, allocations: 3.984 kB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.5275, allocations: 63.94 kB / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.5276, allocations: 32 kB / 1.048 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005908/0.5335, allocations: 1.462 MB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.5493, allocations: 3.783 MB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.5533, allocations: 0.9054 MB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.5553, allocations: 367.7 kB / 1.054 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.5556, allocations: 41.08 kB / 1.054 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/0.5579, allocations: 0.5553 MB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 5.1e-06/0.558, allocations: 0 / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.5871/1.145, allocations: 1.382 MB / 1.056 GB, free: 156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.145, allocations: 192 kB / 1.056 GB, free: 155.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.147, allocations: 0.7414 MB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/1.147, allocations: 40.23 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/1.148, allocations: 0.5838 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/1.148, allocations: 312.5 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/1.148, allocations: 15.59 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/1.148, allocations: 341 kB / 1.058 GB, free: 155 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.149, allocations: 335.2 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.15, allocations: 433.6 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.152, allocations: 387.5 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.152, allocations: 0 / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003761/1.155, allocations: 1.034 MB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.155, allocations: 5.438 kB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.155, allocations: 0 / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/1.156, allocations: 87.44 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.158, allocations: 202.5 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.161, allocations: 1.532 MB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.163, allocations: 106.4 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.163, allocations: 45.88 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$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 (111): * Single equations (assignments): 110 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008905/1.164, allocations: 320 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.164, allocations: 98.72 kB / 1.063 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/1.169, allocations: 1.31 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.169, allocations: 11.31 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.169, allocations: 0 / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/1.169, allocations: 5.391 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/1.176, allocations: 2.488 MB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.176, allocations: 0.7812 kB / 1.066 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.178, allocations: 185.8 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009353/1.179, allocations: 84.53 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.179, allocations: 36.27 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/1.182, allocations: 1.55 MB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.182, allocations: 0.9375 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/1.186, allocations: 1.119 MB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.187, allocations: 338.4 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/1.187, allocations: 23.73 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.189, allocations: 77.75 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.189, allocations: 77.81 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.189, allocations: 43.59 kB / 1.07 GB, free: 151 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001298/1.191, allocations: 0.5407 MB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/1.191, allocations: 0 / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002667/1.193, allocations: 380.7 kB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002911/1.196, allocations: 0.5623 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005632/1.202, allocations: 0.97 MB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.202, allocations: 1.062 kB / 1.072 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/1.205, allocations: 0.5798 MB / 1.073 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.21, allocations: 270.7 kB / 1.073 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.224, allocations: 2.931 MB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.226, allocations: 1.161 MB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002897/1.229, allocations: 288.8 kB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.23, allocations: 120.2 kB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.024e-06/1.23, allocations: 4 kB / 1.078 GB, free: 148.1 MB / 0.698 GB Notification: Performance of Templates: time 0.06131/1.291, allocations: 15.6 MB / 1.093 GB, free: 139.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)