Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004859/0.004859, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.46/1.46, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.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.0005146/0.0005146, allocations: 12 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5682, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005214/0.5735, allocations: 3.799 MB / 0.7324 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.7403, allocations: 146.3 MB / 0.8753 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.7411, allocations: 11.94 kB / 0.8753 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.7417, allocations: 142.9 kB / 0.8755 GB, free: 4.391 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001489/0.7432, allocations: 370.1 kB / 0.8758 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.7449, allocations: 0.6776 MB / 0.8765 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.746, allocations: 1.117 MB / 0.8776 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.7469, allocations: 0.5857 MB / 0.8781 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.7473, allocations: 298.5 kB / 0.8784 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.7477, allocations: 338 kB / 0.8788 GB, free: 1 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.7478, allocations: 24 kB / 0.8788 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.7483, allocations: 299.7 kB / 0.8791 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.7485, allocations: 171.2 kB / 0.8792 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.7489, allocations: 411.1 kB / 0.8796 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.7501, allocations: 1.3 MB / 0.8809 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7501, allocations: 4 kB / 0.8809 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7501, allocations: 0 / 0.8809 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.7501, allocations: 0 / 0.8809 GB, free: 14.8 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.001832/0.752, allocations: 1.116 MB / 0.882 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.752, allocations: 8.031 kB / 0.882 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.7532, allocations: 239.5 kB / 0.8822 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009287/0.7541, allocations: 0.7188 MB / 0.8829 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.7542, allocations: 58 kB / 0.883 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.7543, allocations: 76 kB / 0.883 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.7559, allocations: 0.9209 MB / 0.8839 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.7559, allocations: 4 kB / 0.884 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.756, allocations: 32 kB / 0.884 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.756, allocations: 20 kB / 0.884 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.7579, allocations: 1.128 MB / 0.8851 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.7617, allocations: 2.687 MB / 0.8877 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.7633, allocations: 0.8781 MB / 0.8886 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.7639, allocations: 286.7 kB / 0.8889 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.7639, allocations: 28.69 kB / 0.8889 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/0.7647, allocations: 443.1 kB / 0.8893 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=74): time 1.974e-06/0.7647, allocations: 0 / 0.8893 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74): time 0.002933/0.7677, allocations: 1.096 MB / 0.8904 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7678, allocations: 188.6 kB / 0.8906 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.7685, allocations: 0.5782 MB / 0.8911 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.7685, allocations: 41.7 kB / 0.8912 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.7688, allocations: 380.1 kB / 0.8915 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.769, allocations: 248.4 kB / 0.8918 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.7691, allocations: 61.69 kB / 0.8918 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7693, allocations: 390.7 kB / 0.8922 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.7698, allocations: 245.9 kB / 0.8924 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.7704, allocations: 353.7 kB / 0.8928 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7714, allocations: 0.5902 MB / 0.8933 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7714, allocations: 0 / 0.8933 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001735/0.7731, allocations: 0.8099 MB / 0.8941 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7732, allocations: 5.875 kB / 0.8941 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7732, allocations: 7.984 kB / 0.8941 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.7737, allocations: 88.77 kB / 0.8942 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.7744, allocations: 151.8 kB / 0.8944 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7764, allocations: 1.53 MB / 0.8959 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.7771, allocations: 91.27 kB / 0.896 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.7772, allocations: 35.98 kB / 0.896 GB, free: 14.76 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00041/0.7776, allocations: 257.7 kB / 0.8962 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7777, allocations: 71.16 kB / 0.8963 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.78, allocations: 1.003 MB / 0.8973 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.78, allocations: 15.94 kB / 0.8973 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.78, allocations: 0 / 0.8973 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.78, allocations: 3.984 kB / 0.8973 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.7832, allocations: 1.919 MB / 0.8992 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.7832, allocations: 0 / 0.8992 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.7838, allocations: 151.8 kB / 0.8993 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/0.7843, allocations: 84.72 kB / 0.8994 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.7844, allocations: 19.98 kB / 0.8994 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.7862, allocations: 1.54 MB / 0.9009 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7862, allocations: 0 / 0.9009 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.788, allocations: 0.9258 MB / 0.9018 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.7883, allocations: 267.7 kB / 0.9021 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.7884, allocations: 16 kB / 0.9021 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.789, allocations: 74.56 kB / 0.9022 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.7892, allocations: 60.86 kB / 0.9022 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.7893, allocations: 36.03 kB / 0.9023 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004998/0.7898, allocations: 419.1 kB / 0.9027 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7898, allocations: 0 / 0.9027 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007585/0.7905, allocations: 283.1 kB / 0.9029 GB, free: 7.379 MB / 0.7169 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.7917, allocations: 0.5557 MB / 0.9035 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.7932, allocations: 0.7769 MB / 0.9042 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7933, allocations: 3.938 kB / 0.9042 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.7941, allocations: 0.4886 MB / 0.9047 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7954, allocations: 271.7 kB / 0.905 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.7992, allocations: 2.112 MB / 0.907 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.7998, allocations: 1.005 MB / 0.908 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.8006, allocations: 262.1 kB / 0.9083 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.8008, allocations: 95.33 kB / 0.9084 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8008, allocations: 3.938 kB / 0.9084 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.3787/1.179, allocations: 13.27 MB / 0.9213 GB, free: 176.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: