Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8309/0.8309, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 181.9 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 426.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008114/0.0008116, allocations: 82.41 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001722/0.001722, allocations: 273.2 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004823, allocations: 19.98 kB / 0.662 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4455, allocations: 79.3 MB / 0.7395 GB, free: 46.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.944/5.389, allocations: 2.042 GB / 2.781 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.39, allocations: 87.95 kB / 2.781 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1231/5.513, allocations: 58.26 MB / 2.838 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/5.513, allocations: 0 / 2.838 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001124/5.513, allocations: 31.94 kB / 2.838 GB, free: 108.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002686/5.516, allocations: 1.156 MB / 2.839 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/5.516, allocations: 12.03 kB / 2.839 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/5.517, allocations: 239.4 kB / 2.839 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/5.519, allocations: 0.6395 MB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/5.519, allocations: 62.38 kB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/5.519, allocations: 80.38 kB / 2.84 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/5.52, allocations: 0.9058 MB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/5.521, allocations: 4.188 kB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/5.521, allocations: 43.94 kB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/5.521, allocations: 24 kB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/5.522, allocations: 1.132 MB / 2.842 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/5.526, allocations: 2.668 MB / 2.845 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/5.528, allocations: 0.8701 MB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/5.528, allocations: 290.7 kB / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/5.528, allocations: 32.69 kB / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/5.529, allocations: 435.2 kB / 2.846 GB, free: 100 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 5.25e-06/5.529, allocations: 0 / 2.846 GB, free: 100 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.002639/5.532, allocations: 1.108 MB / 2.848 GB, free: 98.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/5.532, allocations: 247.9 kB / 2.848 GB, free: 98.61 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/5.533, allocations: 0.6368 MB / 2.848 GB, free: 97.96 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/5.533, allocations: 41.7 kB / 2.848 GB, free: 97.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/5.533, allocations: 380.2 kB / 2.849 GB, free: 97.54 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/5.533, allocations: 248.5 kB / 2.849 GB, free: 97.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/5.533, allocations: 12 kB / 2.849 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001155/5.533, allocations: 378.8 kB / 2.849 GB, free: 96.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/5.534, allocations: 225.2 kB / 2.85 GB, free: 96.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/5.534, allocations: 350.2 kB / 2.85 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/5.535, allocations: 0.5605 MB / 2.85 GB, free: 95.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/5.535, allocations: 0 / 2.85 GB, free: 95.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001554/5.537, allocations: 0.7548 MB / 2.851 GB, free: 94.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/5.537, allocations: 4.625 kB / 2.851 GB, free: 94.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/5.537, allocations: 0 / 2.851 GB, free: 94.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/5.537, allocations: 88.92 kB / 2.851 GB, free: 94.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/5.538, allocations: 143.8 kB / 2.851 GB, free: 94.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.539, allocations: 1.518 MB / 2.853 GB, free: 93.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/5.54, allocations: 87.33 kB / 2.853 GB, free: 92.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/5.54, allocations: 27.98 kB / 2.853 GB, free: 92.94 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004275/5.541, allocations: 258.9 kB / 2.853 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/5.541, allocations: 75.06 kB / 2.853 GB, free: 92.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/5.543, allocations: 1.002 MB / 2.854 GB, free: 91.59 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/5.543, allocations: 19.81 kB / 2.854 GB, free: 91.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/5.543, allocations: 0 / 2.854 GB, free: 91.57 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/5.543, allocations: 3.984 kB / 2.854 GB, free: 91.57 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/5.546, allocations: 1.962 MB / 2.856 GB, free: 89.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/5.546, allocations: 4 kB / 2.856 GB, free: 89.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/5.546, allocations: 147.8 kB / 2.856 GB, free: 89.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/5.547, allocations: 84.77 kB / 2.856 GB, free: 89.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/5.547, allocations: 23.98 kB / 2.857 GB, free: 89.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/5.548, allocations: 1.551 MB / 2.858 GB, free: 87.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.548, allocations: 3.938 kB / 2.858 GB, free: 87.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/5.55, allocations: 0.9142 MB / 2.859 GB, free: 86.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/5.55, allocations: 291.6 kB / 2.859 GB, free: 86.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/5.55, allocations: 16 kB / 2.859 GB, free: 86.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/5.551, allocations: 71.94 kB / 2.859 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/5.551, allocations: 52.92 kB / 2.859 GB, free: 86.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/5.551, allocations: 39.97 kB / 2.859 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005445/5.552, allocations: 471 kB / 2.86 GB, free: 85.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/5.552, allocations: 0 / 2.86 GB, free: 85.71 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001141/5.553, allocations: 331.3 kB / 2.86 GB, free: 85.39 MB / 0.6667 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/5.555, allocations: 1.028 MB / 2.861 GB, free: 84.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001395/5.556, allocations: 0.7397 MB / 2.862 GB, free: 83.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/5.556, allocations: 4 kB / 2.862 GB, free: 83.71 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/5.557, allocations: 0.4885 MB / 2.862 GB, free: 83.21 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/5.558, allocations: 275.2 kB / 2.863 GB, free: 82.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/5.562, allocations: 2.077 MB / 2.865 GB, free: 80.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/5.562, allocations: 0.9997 MB / 2.866 GB, free: 79.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008498/5.563, allocations: 262.2 kB / 2.866 GB, free: 79.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/5.563, allocations: 95.39 kB / 2.866 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of SimCode: time 8.02e-07/5.563, allocations: 0 / 2.866 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of Templates: time 0.02941/5.593, allocations: 20.58 MB / 2.886 GB, free: 58.96 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)