Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 62.42 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2425, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006294/0.2488, allocations: 4.935 MB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.3926, allocations: 150.6 MB / 1.205 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.3933, allocations: 15.94 kB / 1.205 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.394, allocations: 190.1 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.3958, allocations: 0.5509 MB / 1.206 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.3977, allocations: 0.85 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3991, allocations: 1.405 MB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.3999, allocations: 0.6144 MB / 1.208 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.4006, allocations: 0.4905 MB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.4012, allocations: 0.5173 MB / 1.209 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.4014, allocations: 119.9 kB / 1.209 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.4022, allocations: 463.6 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.4025, allocations: 307 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.403, allocations: 0.5674 MB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.4047, allocations: 1.616 MB / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4047, allocations: 0 / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4047, allocations: 0 / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.4047, allocations: 0 / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002476/0.4072, allocations: 1.458 MB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4072, allocations: 12.62 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.4074, allocations: 139.6 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.4086, allocations: 231.3 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.4096, allocations: 0.7537 MB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.4096, allocations: 65.94 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.4097, allocations: 84 kB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.4113, allocations: 0.9833 MB / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4113, allocations: 0 / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.4114, allocations: 40 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4114, allocations: 24 kB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4132, allocations: 1.163 MB / 1.217 GB, free: 15.25 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.4172, allocations: 3.041 MB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.419, allocations: 0.952 MB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.4195, allocations: 312.9 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.4196, allocations: 32.59 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007949/0.4204, allocations: 0.4964 MB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.014e-06/0.4204, allocations: 4 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003079/0.4235, allocations: 1.231 MB / 1.223 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.4236, allocations: 188.9 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.4244, allocations: 0.6294 MB / 1.224 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.4244, allocations: 41.7 kB / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.4247, allocations: 424.1 kB / 1.224 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.425, allocations: 264.2 kB / 1.225 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.4252, allocations: 154.5 kB / 1.225 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4253, allocations: 386.8 kB / 1.225 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.4258, allocations: 249.9 kB / 1.225 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.4264, allocations: 393.1 kB / 1.226 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4276, allocations: 0.6228 MB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4276, allocations: 0 / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001886/0.4295, allocations: 0.8407 MB / 1.227 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4295, allocations: 8.172 kB / 1.227 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4295, allocations: 4 kB / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.4301, allocations: 84.78 kB / 1.227 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.4307, allocations: 167.6 kB / 1.227 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.4327, allocations: 1.615 MB / 1.229 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.4333, allocations: 91.27 kB / 1.229 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.4334, allocations: 39.97 kB / 1.229 GB, free: 2.531 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0003494/0.4338, allocations: 273.8 kB / 1.229 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.434, allocations: 82.97 kB / 1.229 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4362, allocations: 1.093 MB / 1.23 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.4363, allocations: 8 kB / 1.23 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4363, allocations: 0 / 1.23 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.4363, allocations: 11.91 kB / 1.23 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.4396, allocations: 2.094 MB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4396, allocations: 0 / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.4402, allocations: 151.8 kB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.4406, allocations: 76.78 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.4407, allocations: 27.97 kB / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.4424, allocations: 1.654 MB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4424, allocations: 4.062 kB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4443, allocations: 1.012 MB / 1.235 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.4447, allocations: 271.7 kB / 1.236 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4448, allocations: 31.95 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.4455, allocations: 55.94 kB / 1.236 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4456, allocations: 80.83 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.4457, allocations: 35.98 kB / 1.236 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005128/0.4462, allocations: 463 kB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4462, allocations: 0 / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008007/0.447, allocations: 331.1 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003382/0.4504, allocations: 2.076 MB / 1.239 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.4527, allocations: 1.026 MB / 1.24 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4527, allocations: 3.984 kB / 1.24 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009313/0.4537, allocations: 0.5317 MB / 1.24 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.455, allocations: 317.6 kB / 1.24 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3985/0.8535, allocations: 6.571 MB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.8541, allocations: 1.027 MB / 1.248 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009637/0.8551, allocations: 259.3 kB / 1.248 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.8556, allocations: 395.3 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.8556, allocations: 0 / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/0.9276, allocations: 22.08 MB / 1.27 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.1, allocations: 6.531 kB / 1.27 GB, free: 186.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)