Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001685/0.001685, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001382/0.001382, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002068, allocations: 57.8 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006643/0.3121, allocations: 4.94 MB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.4783, allocations: 148.4 MB / 1.217 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.4792, allocations: 19.88 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.48, allocations: 154.8 kB / 1.218 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.482, allocations: 489.2 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.484, allocations: 0.7607 MB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.4858, allocations: 1.412 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.4868, allocations: 0.6066 MB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007705/0.4875, allocations: 0.4943 MB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.4883, allocations: 0.5134 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.4885, allocations: 120 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.4894, allocations: 459.6 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.4897, allocations: 303 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.4904, allocations: 0.5791 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.4923, allocations: 1.612 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4923, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4923, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.683e-05/0.4923, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 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.002876/0.4952, allocations: 1.458 MB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4952, allocations: 8.031 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.4966, allocations: 235.3 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.4977, allocations: 0.7499 MB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.4977, allocations: 66 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.4979, allocations: 84 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.4997, allocations: 0.9872 MB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.4997, allocations: 0 / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.4998, allocations: 40 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.4998, allocations: 20 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.5018, allocations: 1.163 MB / 1.229 GB, free: 4.379 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.004595/0.5064, allocations: 3.041 MB / 1.232 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.5084, allocations: 0.942 MB / 1.233 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.509, allocations: 314.7 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.5091, allocations: 32.61 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009687/0.51, allocations: 0.5003 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/0.5101, allocations: 3.938 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003336/0.5134, allocations: 1.231 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5135, allocations: 192.9 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/0.5144, allocations: 0.6332 MB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.5145, allocations: 41.7 kB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.5148, allocations: 416.3 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5151, allocations: 268.1 kB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.5154, allocations: 166.5 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5156, allocations: 390.7 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.5162, allocations: 273.9 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.5168, allocations: 385.7 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.518, allocations: 0.6462 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.518, allocations: 64 / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002376/0.5204, allocations: 0.8994 MB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5205, allocations: 8 kB / 1.24 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5205, allocations: 0 / 1.24 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.5212, allocations: 84.95 kB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.5219, allocations: 163.8 kB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.5243, allocations: 1.643 MB / 1.241 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.5253, allocations: 101.3 kB / 1.241 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5254, allocations: 35.97 kB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.000558/0.526, allocations: 279.5 kB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.5262, allocations: 82.97 kB / 1.242 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.5288, allocations: 1.089 MB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5288, allocations: 12 kB / 1.243 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5288, allocations: 0 / 1.243 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5288, allocations: 7.922 kB / 1.243 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.5328, allocations: 2.086 MB / 1.245 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5328, allocations: 4 kB / 1.245 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.5335, allocations: 155.7 kB / 1.245 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.534, allocations: 72.78 kB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/0.5341, allocations: 27.98 kB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.5363, allocations: 1.662 MB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5363, allocations: 4.031 kB / 1.247 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.5384, allocations: 1.012 MB / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.539, allocations: 275.7 kB / 1.248 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.5392, allocations: 20 kB / 1.248 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.54, allocations: 67.84 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.5402, allocations: 76.83 kB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.5403, allocations: 39.97 kB / 1.248 GB, free: 308 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5689/1.109, allocations: 451.7 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.52e-07/1.109, allocations: 0.8125 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001665/1.111, allocations: 329.1 kB / 1.249 GB, free: 183.2 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.001581/1.112, allocations: 0.6015 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.115, allocations: 1.066 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.115, allocations: 0.6562 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.116, allocations: 0.5264 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.118, allocations: 316.7 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.121, allocations: 2.107 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.122, allocations: 1.031 MB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009579/1.123, allocations: 267.2 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/1.123, allocations: 110.9 kB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.123, allocations: 0 / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03124/1.154, allocations: 15.63 MB / 1.27 GB, free: 178.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)