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.001411/0.001411, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001798/0.001797, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.503/1.503, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.485/1.485, allocations: 251.6 MB / 0.5089 GB, free: 3.355 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.001441/0.001441, allocations: 63.91 kB / 0.6217 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5675, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007923/0.5755, allocations: 4.231 MB / 0.7281 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.7429, allocations: 148 MB / 0.8726 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7439, allocations: 15.94 kB / 0.8727 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.7446, allocations: 127 kB / 0.8728 GB, free: 4.145 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.001501/0.7462, allocations: 385.4 kB / 0.8731 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.7481, allocations: 0.7015 MB / 0.8738 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.7493, allocations: 1.191 MB / 0.875 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.7502, allocations: 0.625 MB / 0.8756 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.7506, allocations: 442.4 kB / 0.876 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.7511, allocations: 453.9 kB / 0.8765 GB, free: 356 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.7512, allocations: 104 kB / 0.8766 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.7519, allocations: 371.7 kB / 0.8769 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.7521, allocations: 271.1 kB / 0.8772 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.7525, allocations: 0.4974 MB / 0.8777 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.7539, allocations: 1.398 MB / 0.879 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7539, allocations: 4 kB / 0.879 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7539, allocations: 0 / 0.879 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.7539, allocations: 0 / 0.879 GB, free: 13.71 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.002084/0.756, allocations: 1.319 MB / 0.8803 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7561, allocations: 8.031 kB / 0.8803 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.7572, allocations: 219.5 kB / 0.8805 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.7581, allocations: 0.7072 MB / 0.8812 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.7581, allocations: 62 kB / 0.8813 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.7582, allocations: 80 kB / 0.8814 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.7597, allocations: 0.9014 MB / 0.8822 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.7597, allocations: 0 / 0.8822 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.7598, allocations: 40 kB / 0.8823 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.7598, allocations: 20 kB / 0.8823 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.7615, allocations: 1.108 MB / 0.8834 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.7651, allocations: 2.656 MB / 0.886 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.7666, allocations: 0.8586 MB / 0.8868 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.767, allocations: 274.7 kB / 0.8871 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.7671, allocations: 32.67 kB / 0.8871 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/0.7678, allocations: 435.1 kB / 0.8875 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=74): time 2.073e-06/0.7678, allocations: 0 / 0.8875 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74): time 0.002807/0.7707, allocations: 1.088 MB / 0.8886 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7708, allocations: 192.5 kB / 0.8888 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.7715, allocations: 0.5743 MB / 0.8893 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.7716, allocations: 37.7 kB / 0.8894 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.7719, allocations: 388.2 kB / 0.8897 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.7721, allocations: 244.4 kB / 0.89 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.7723, allocations: 158.5 kB / 0.8901 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7725, allocations: 382.7 kB / 0.8905 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.7729, allocations: 241.8 kB / 0.8907 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.7734, allocations: 349.7 kB / 0.891 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.7744, allocations: 0.5863 MB / 0.8916 GB, free: 396 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7744, allocations: 0 / 0.8916 GB, free: 396 kB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001764/0.7762, allocations: 0.803 MB / 0.8924 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7762, allocations: 8 kB / 0.8924 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7762, allocations: 0 / 0.8924 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/0.7768, allocations: 85.02 kB / 0.8925 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.7774, allocations: 159.7 kB / 0.8926 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.7798, allocations: 1.634 MB / 0.8942 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.7806, allocations: 79.39 kB / 0.8943 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.7807, allocations: 39.95 kB / 0.8943 GB, free: 13.43 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.0004935/0.7812, allocations: 249.7 kB / 0.8946 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.7813, allocations: 79 kB / 0.8947 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.7835, allocations: 0.9867 MB / 0.8956 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.7835, allocations: 8 kB / 0.8956 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7835, allocations: 4 kB / 0.8956 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7835, allocations: 3.984 kB / 0.8956 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.7865, allocations: 1.915 MB / 0.8975 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7865, allocations: 0 / 0.8975 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.7871, allocations: 147.8 kB / 0.8976 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.7875, allocations: 76.72 kB / 0.8977 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.7876, allocations: 23.98 kB / 0.8977 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.7894, allocations: 1.654 MB / 0.8994 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7895, allocations: 3.938 kB / 0.8994 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.7912, allocations: 0.9064 MB / 0.9002 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.7916, allocations: 255.8 kB / 0.9005 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.7917, allocations: 16 kB / 0.9005 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.7923, allocations: 59.94 kB / 0.9006 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7924, allocations: 56.92 kB / 0.9006 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.7925, allocations: 31.98 kB / 0.9007 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005005/0.793, allocations: 419 kB / 0.9011 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.793, allocations: 0 / 0.9011 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008325/0.7939, allocations: 279.2 kB / 0.9013 GB, free: 6.008 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.001247/0.7951, allocations: 0.5603 MB / 0.9019 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.7972, allocations: 0.9522 MB / 0.9028 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7973, allocations: 0 / 0.9028 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.7981, allocations: 0.4966 MB / 0.9033 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7993, allocations: 313 kB / 0.9036 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.803, allocations: 2.048 MB / 0.9056 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.8035, allocations: 0.9994 MB / 0.9066 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008499/0.8044, allocations: 250.3 kB / 0.9068 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.8046, allocations: 103.3 kB / 0.9069 GB, free: 420 kB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.8046, allocations: 0 / 0.9069 GB, free: 420 kB / 0.7169 GB Notification: Performance of Templates: time 0.3954/1.2, allocations: 13.85 MB / 0.9204 GB, free: 177 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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)