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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.135/2.135, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.7 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 109.9 kB / 0.9329 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 50.7 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2696, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005026/0.2747, allocations: 4.19 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.4386, allocations: 148.2 MB / 1.367 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.44, allocations: 15.94 kB / 1.367 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4411, allocations: 138.9 kB / 1.367 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.4435, allocations: 405.9 kB / 1.367 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.4468, allocations: 0.6993 MB / 1.368 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.449, allocations: 1.144 MB / 1.369 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.4505, allocations: 0.6253 MB / 1.37 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.4515, allocations: 386.4 kB / 1.37 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009291/0.4524, allocations: 433.9 kB / 1.371 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.4527, allocations: 52 kB / 1.371 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.454, allocations: 399.6 kB / 1.371 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.4544, allocations: 219.1 kB / 1.371 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.4552, allocations: 469.3 kB / 1.372 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.4578, allocations: 1.41 MB / 1.373 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4578, allocations: 0 / 1.373 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4578, allocations: 0 / 1.373 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.608e-05/0.4579, allocations: 0 / 1.373 GB, free: 5.832 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003939/0.4618, allocations: 1.355 MB / 1.374 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.4619, allocations: 11.98 kB / 1.374 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.4639, allocations: 219.5 kB / 1.375 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.4658, allocations: 0.7111 MB / 1.375 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.4659, allocations: 62 kB / 1.375 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.4661, allocations: 80 kB / 1.375 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.4686, allocations: 0.9209 MB / 1.376 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.4687, allocations: 0 / 1.376 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.4688, allocations: 39.98 kB / 1.376 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.4689, allocations: 24 kB / 1.376 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.4719, allocations: 1.112 MB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/0.4783, allocations: 2.68 MB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.4809, allocations: 0.8701 MB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.4817, allocations: 274.7 kB / 1.381 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.4819, allocations: 36.61 kB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.4832, allocations: 427.2 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.637e-06/0.4832, allocations: 0 / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.004718/0.4879, allocations: 1.088 MB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.4881, allocations: 188.6 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4892, allocations: 0.59 MB / 1.383 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.4893, allocations: 41.7 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.4898, allocations: 392.1 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.4901, allocations: 244.4 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.4905, allocations: 154.5 kB / 1.384 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002463/0.4907, allocations: 386.7 kB / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.4915, allocations: 237.9 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009761/0.4925, allocations: 353.6 kB / 1.385 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.4942, allocations: 0.5863 MB / 1.386 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4943, allocations: 0 / 1.386 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002976/0.4973, allocations: 0.802 MB / 1.387 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4973, allocations: 7.938 kB / 1.387 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.4973, allocations: 8 kB / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/0.4983, allocations: 88.89 kB / 1.387 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4994, allocations: 151.8 kB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.5023, allocations: 1.526 MB / 1.388 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5034, allocations: 79.34 kB / 1.388 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.5035, allocations: 44.03 kB / 1.388 GB, free: 5.535 MB / 0.8855 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.0006253/0.5042, allocations: 247.9 kB / 1.389 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.5044, allocations: 82.98 kB / 1.389 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.508, allocations: 0.9869 MB / 1.39 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5081, allocations: 8 kB / 1.39 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5081, allocations: 7.938 kB / 1.39 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.5081, allocations: 3.984 kB / 1.39 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/0.5133, allocations: 1.919 MB / 1.392 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5134, allocations: 0 / 1.392 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.5142, allocations: 151.8 kB / 1.392 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007906/0.5151, allocations: 80.78 kB / 1.392 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.5152, allocations: 19.98 kB / 1.392 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.518, allocations: 1.54 MB / 1.393 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.518, allocations: 3.984 kB / 1.393 GB, free: 260 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.5227, allocations: 1.928 MB / 1.395 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.5233, allocations: 255.8 kB / 1.395 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5235, allocations: 16 kB / 1.395 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.5244, allocations: 55.88 kB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.5246, allocations: 68.91 kB / 1.396 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5247, allocations: 27.98 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008162/0.5255, allocations: 431 kB / 1.396 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5256, allocations: 0 / 1.396 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001506/0.5271, allocations: 295.4 kB / 1.396 GB, free: 13.12 MB / 0.9011 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.001884/0.529, allocations: 0.5947 MB / 1.397 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.5311, allocations: 0.7764 MB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5311, allocations: 0 / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5322, allocations: 492.7 kB / 1.398 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5337, allocations: 287.6 kB / 1.398 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.5382, allocations: 2.508 MB / 1.401 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5389, allocations: 1.023 MB / 1.402 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008736/0.5397, allocations: 270.1 kB / 1.402 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.54, allocations: 99.39 kB / 1.402 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/0.54, allocations: 0 / 1.402 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of Templates: time 0.0237/0.5637, allocations: 14.08 MB / 1.416 GB, free: 9.234 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)