Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 192.1 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 0.6367 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009903/0.0009902, allocations: 93.8 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 11.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.348, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.931/6.279, allocations: 2.074 GB / 3.062 GB, free: 146.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004648/6.279, allocations: 97 kB / 3.062 GB, free: 146.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1586/6.438, allocations: 68.02 MB / 3.128 GB, free: 78.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.508e-06/6.438, allocations: 0 / 3.128 GB, free: 78.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001324/6.438, allocations: 23.94 kB / 3.128 GB, free: 78.15 MB / 0.948 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.003226/6.441, allocations: 1.204 MB / 3.13 GB, free: 76.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/6.441, allocations: 16.02 kB / 3.13 GB, free: 76.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/6.443, allocations: 222.3 kB / 3.13 GB, free: 76.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/6.444, allocations: 0.623 MB / 3.13 GB, free: 76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/6.444, allocations: 69.98 kB / 3.13 GB, free: 75.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/6.445, allocations: 84 kB / 3.131 GB, free: 75.85 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/6.447, allocations: 0.9184 MB / 3.131 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/6.447, allocations: 0 / 3.131 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/6.447, allocations: 40 kB / 3.132 GB, free: 74.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/6.447, allocations: 20 kB / 3.132 GB, free: 74.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/6.449, allocations: 1.128 MB / 3.133 GB, free: 73.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/6.453, allocations: 2.551 MB / 3.135 GB, free: 71.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/6.455, allocations: 0.757 MB / 3.136 GB, free: 70.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/6.455, allocations: 470.2 kB / 3.136 GB, free: 69.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/6.456, allocations: 444.5 kB / 3.137 GB, free: 69.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.366e-06/6.456, allocations: 0 / 3.137 GB, free: 69.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003042/6.459, allocations: 1.136 MB / 3.138 GB, free: 68.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/6.459, allocations: 248 kB / 3.138 GB, free: 67.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/6.46, allocations: 0.5776 MB / 3.139 GB, free: 67.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/6.46, allocations: 37.7 kB / 3.139 GB, free: 67.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/6.46, allocations: 396.2 kB / 3.139 GB, free: 66.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/6.461, allocations: 244.4 kB / 3.139 GB, free: 66.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/6.461, allocations: 8 kB / 3.139 GB, free: 66.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/6.461, allocations: 374.8 kB / 3.14 GB, free: 66.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/6.461, allocations: 233.2 kB / 3.14 GB, free: 65.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/6.462, allocations: 339.6 kB / 3.14 GB, free: 65.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/6.462, allocations: 279.1 kB / 3.14 GB, free: 65.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/6.462, allocations: 4 kB / 3.14 GB, free: 65.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001616/6.464, allocations: 0.7431 MB / 3.141 GB, free: 64.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/6.464, allocations: 8 kB / 3.141 GB, free: 64.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/6.464, allocations: 0 / 3.141 GB, free: 64.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/6.464, allocations: 84.83 kB / 3.141 GB, free: 64.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/6.465, allocations: 139.8 kB / 3.141 GB, free: 64.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/6.467, allocations: 1.529 MB / 3.143 GB, free: 62.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/6.468, allocations: 87.39 kB / 3.143 GB, free: 62.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/6.468, allocations: 23.98 kB / 3.143 GB, free: 62.58 MB / 0.948 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.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 (75): * Single equations (assignments): 74 * 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.0004925/6.468, allocations: 250.6 kB / 3.143 GB, free: 62.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/6.468, allocations: 87 kB / 3.143 GB, free: 62.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/6.471, allocations: 1.037 MB / 3.144 GB, free: 61.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/6.471, allocations: 8 kB / 3.144 GB, free: 61.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/6.471, allocations: 0 / 3.144 GB, free: 61.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/6.471, allocations: 3.984 kB / 3.144 GB, free: 61.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/6.471, allocations: 0.8879 MB / 3.145 GB, free: 60.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.471, allocations: 8 kB / 3.145 GB, free: 60.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/6.472, allocations: 147.8 kB / 3.145 GB, free: 60.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/6.473, allocations: 84.77 kB / 3.145 GB, free: 59.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/6.473, allocations: 23.98 kB / 3.145 GB, free: 59.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/6.474, allocations: 1.555 MB / 3.147 GB, free: 58.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/6.474, allocations: 0 / 3.147 GB, free: 58.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/6.476, allocations: 0.8656 MB / 3.148 GB, free: 57.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/6.476, allocations: 283.7 kB / 3.148 GB, free: 57.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/6.476, allocations: 16 kB / 3.148 GB, free: 57.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/6.477, allocations: 75.89 kB / 3.148 GB, free: 57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/6.477, allocations: 60.86 kB / 3.148 GB, free: 56.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/6.477, allocations: 31.97 kB / 3.148 GB, free: 56.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005322/6.478, allocations: 487 kB / 3.149 GB, free: 56.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.478, allocations: 4 kB / 3.149 GB, free: 56.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00125/6.479, allocations: 355.1 kB / 3.149 GB, free: 56.08 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.002052/6.481, allocations: 1.054 MB / 3.15 GB, free: 55.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001525/6.482, allocations: 0.7477 MB / 3.151 GB, free: 54.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.483, allocations: 4.125 kB / 3.151 GB, free: 54.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/6.483, allocations: 496.3 kB / 3.151 GB, free: 53.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/6.484, allocations: 230.2 kB / 3.152 GB, free: 53.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/6.488, allocations: 2.167 MB / 3.154 GB, free: 51.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/6.489, allocations: 1.039 MB / 3.155 GB, free: 50.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009205/6.49, allocations: 258.1 kB / 3.155 GB, free: 50.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/6.49, allocations: 95.39 kB / 3.155 GB, free: 50.06 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/6.49, allocations: 0 / 3.155 GB, free: 50.06 MB / 0.948 GB Notification: Performance of Templates: time 0.03044/6.52, allocations: 20.38 MB / 3.175 GB, free: 29.76 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)