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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5258/0.5258, allocations: 95.61 MB / 110.6 MB, free: 9.211 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001032/0.001032, allocations: 163.6 kB / 134.2 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.323/1.323, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00161/0.00161, allocations: 103.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.02/12.17, allocations: 4.478 GB / 4.99 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/12.17, allocations: 87.95 kB / 4.99 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1146/12.28, allocations: 59.79 MB / 5.048 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.979e-06/12.28, allocations: 0 / 5.048 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.207e-05/12.28, allocations: 28 kB / 5.048 GB, free: 46.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00236/12.29, allocations: 1.261 MB / 5.049 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/12.29, allocations: 19.98 kB / 5.049 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/12.29, allocations: 118.8 kB / 5.049 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/12.29, allocations: 0.5101 MB / 5.05 GB, free: 44.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/12.29, allocations: 61.95 kB / 5.05 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/12.29, allocations: 79.98 kB / 5.05 GB, free: 44.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/12.29, allocations: 0.7717 MB / 5.051 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/12.29, allocations: 0 / 5.051 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/12.29, allocations: 32 kB / 5.051 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/12.29, allocations: 20 kB / 5.051 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/12.29, allocations: 0.9912 MB / 5.052 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/12.29, allocations: 2.188 MB / 5.054 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/12.29, allocations: 0.6324 MB / 5.055 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/12.3, allocations: 2.02 MB / 5.057 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006676/12.3, allocations: 402.6 kB / 5.057 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.539e-06/12.3, allocations: 0 / 5.057 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.002637/12.3, allocations: 1.216 MB / 5.058 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/12.3, allocations: 251.9 kB / 5.058 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/12.3, allocations: 482 kB / 5.059 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/12.3, allocations: 37.7 kB / 5.059 GB, free: 34.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/12.3, allocations: 320.5 kB / 5.059 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/12.3, allocations: 236.5 kB / 5.059 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/12.3, allocations: 12 kB / 5.059 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001311/12.3, allocations: 366.8 kB / 5.06 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/12.3, allocations: 205.1 kB / 5.06 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/12.3, allocations: 288.6 kB / 5.06 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/12.3, allocations: 453.7 kB / 5.061 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/12.3, allocations: 0 / 5.061 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001682/12.3, allocations: 0.9342 MB / 5.062 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/12.3, allocations: 203.9 kB / 5.062 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/12.3, allocations: 0 / 5.062 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/12.3, allocations: 76.8 kB / 5.062 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/12.31, allocations: 103.9 kB / 5.062 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/12.31, allocations: 1.423 MB / 5.063 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/12.31, allocations: 59.45 kB / 5.063 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/12.31, allocations: 31.98 kB / 5.063 GB, free: 29.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007374/12.31, allocations: 320.1 kB / 5.064 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/12.31, allocations: 71.27 kB / 5.064 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/12.31, allocations: 1.016 MB / 5.065 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/12.31, allocations: 8 kB / 5.065 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/12.31, allocations: 0 / 5.065 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/12.31, allocations: 3.984 kB / 5.065 GB, free: 27.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/12.31, allocations: 0.7628 MB / 5.066 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/12.31, allocations: 7.984 kB / 5.066 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/12.31, allocations: 115.8 kB / 5.066 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/12.31, allocations: 80.77 kB / 5.066 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/12.31, allocations: 23.98 kB / 5.066 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/12.31, allocations: 1.45 MB / 5.067 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/12.31, allocations: 3.938 kB / 5.067 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/12.32, allocations: 0.8728 MB / 5.068 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/12.32, allocations: 264.1 kB / 5.068 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/12.32, allocations: 19.98 kB / 5.068 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/12.32, allocations: 43.92 kB / 5.068 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/12.32, allocations: 56.52 kB / 5.068 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/12.32, allocations: 31.98 kB / 5.068 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006925/12.32, allocations: 390.8 kB / 5.069 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/12.32, allocations: 0 / 5.069 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001585/12.32, allocations: 331.1 kB / 5.069 GB, free: 23.13 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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002331/12.32, allocations: 0.5987 MB / 5.07 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001867/12.32, allocations: 1.098 MB / 5.071 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/12.32, allocations: 8.125 kB / 5.071 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008209/12.33, allocations: 0.6294 MB / 5.071 GB, free: 20.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/12.33, allocations: 166.2 kB / 5.072 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/12.33, allocations: 1.743 MB / 5.073 GB, free: 18.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/12.33, allocations: 0.9754 MB / 5.074 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008523/12.33, allocations: 216.5 kB / 5.074 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/12.33, allocations: 83.39 kB / 5.074 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of SimCode: time 2.314e-06/12.33, allocations: 0 / 5.074 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.02429/12.36, allocations: 11.23 MB / 5.085 GB, free: 6.344 MB / 0.5261 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)