Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7083/0.7083, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 181.9 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205 MB / 408.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.34 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009748/0.0009748, allocations: 56.91 kB / 0.558 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.133, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004826/0.1379, allocations: 4.018 MB / 0.6356 GB, free: 28.97 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4339/0.5719, allocations: 147.9 MB / 0.78 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.5727, allocations: 11.47 kB / 0.78 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.5733, allocations: 93.28 kB / 0.7801 GB, free: 14 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001868/0.5752, allocations: 343.3 kB / 0.7804 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.5771, allocations: 0.6724 MB / 0.7811 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.5785, allocations: 1.047 MB / 0.7821 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007133/0.5792, allocations: 0.5214 MB / 0.7826 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.5798, allocations: 377.7 kB / 0.783 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.5806, allocations: 407.4 kB / 0.7834 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.359e-05/0.5807, allocations: 46.12 kB / 0.7834 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.5815, allocations: 332.2 kB / 0.7837 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.5817, allocations: 199.4 kB / 0.7839 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.5821, allocations: 434.7 kB / 0.7843 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.5833, allocations: 1.331 MB / 0.7856 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5833, allocations: 0 / 0.7856 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5833, allocations: 0 / 0.7856 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.5833, allocations: 5.75 kB / 0.7856 GB, free: 13.22 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002195/0.5855, allocations: 1.26 MB / 0.7869 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5856, allocations: 11.62 kB / 0.7869 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.5878, allocations: 338.8 kB / 0.7872 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000971/0.5887, allocations: 0.6385 MB / 0.7878 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.5888, allocations: 62.56 kB / 0.7879 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.5889, allocations: 76.81 kB / 0.788 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.5909, allocations: 0.9161 MB / 0.7889 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5909, allocations: 3.938 kB / 0.7889 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.591, allocations: 38.2 kB / 0.7889 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5911, allocations: 24.53 kB / 0.7889 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.5935, allocations: 1.173 MB / 0.7901 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004459/0.598, allocations: 2.632 MB / 0.7926 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.6002, allocations: 0.9423 MB / 0.7936 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.6009, allocations: 317.3 kB / 0.7939 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/0.6016, allocations: 479.8 kB / 0.7943 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6027, allocations: 476.8 kB / 0.7948 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 3.186e-06/0.6027, allocations: 3.938 kB / 0.7948 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.003574/0.6063, allocations: 1.153 MB / 0.7959 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.6064, allocations: 112.1 kB / 0.796 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.6071, allocations: 0.4967 MB / 0.7965 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.6072, allocations: 40.36 kB / 0.7965 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.6075, allocations: 356.1 kB / 0.7969 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6077, allocations: 244.3 kB / 0.7971 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.6079, allocations: 143.7 kB / 0.7972 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6081, allocations: 368.8 kB / 0.7976 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.6088, allocations: 251.5 kB / 0.7978 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.6095, allocations: 345.2 kB / 0.7982 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.6111, allocations: 0.5998 MB / 0.7987 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.6111, allocations: 0.625 kB / 0.7988 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002187/0.6133, allocations: 0.7986 MB / 0.7995 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6134, allocations: 7.031 kB / 0.7995 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6134, allocations: 2.438 kB / 0.7995 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.614, allocations: 81.12 kB / 0.7996 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.6147, allocations: 160.5 kB / 0.7998 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.6166, allocations: 1.508 MB / 0.8012 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.6172, allocations: 81.77 kB / 0.8013 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.6173, allocations: 34.06 kB / 0.8014 GB, free: 6.262 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004063/0.6177, allocations: 241.2 kB / 0.8016 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.6178, allocations: 68.28 kB / 0.8016 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6203, allocations: 1.02 MB / 0.8026 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.6203, allocations: 10.16 kB / 0.8027 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.6203, allocations: 0 / 0.8027 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6203, allocations: 3.984 kB / 0.8027 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.6237, allocations: 1.9 MB / 0.8045 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6237, allocations: 0 / 0.8045 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.6244, allocations: 160.3 kB / 0.8047 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/0.6249, allocations: 81.12 kB / 0.8047 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.625, allocations: 20.61 kB / 0.8048 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.6267, allocations: 1.544 MB / 0.8063 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6267, allocations: 7.922 kB / 0.8063 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.6302, allocations: 1.937 MB / 0.8082 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.6307, allocations: 251.2 kB / 0.8084 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6308, allocations: 22.59 kB / 0.8084 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.6314, allocations: 57.75 kB / 0.8085 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6315, allocations: 60.17 kB / 0.8085 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.6316, allocations: 38.59 kB / 0.8086 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004777/0.6321, allocations: 358.5 kB / 0.8089 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6321, allocations: 3.938 kB / 0.8089 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001022/0.6331, allocations: 279.2 kB / 0.8092 GB, free: 2.125 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001208/0.6343, allocations: 0.5552 MB / 0.8097 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.6363, allocations: 0.7819 MB / 0.8105 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6363, allocations: 7.906 kB / 0.8105 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6373, allocations: 0.5007 MB / 0.811 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.6384, allocations: 227.5 kB / 0.8112 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.6428, allocations: 2.398 MB / 0.8136 GB, free: 16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.6434, allocations: 0.9965 MB / 0.8145 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001052/0.6444, allocations: 243.4 kB / 0.8148 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.6447, allocations: 95.62 kB / 0.8148 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.193e-06/0.6447, allocations: 0 / 0.8148 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.01995/0.6647, allocations: 12.61 MB / 0.8272 GB, free: 7.707 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)