Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 176.6 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.00089, allocations: 95.86 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007583/0.0007587, allocations: 11.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2781, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.386/7.664, allocations: 2.19 GB / 3.09 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005126/7.665, allocations: 100.7 kB / 3.09 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2712/7.936, allocations: 67.54 MB / 3.156 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.066e-06/7.936, allocations: 0 / 3.156 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001035/7.936, allocations: 23.47 kB / 3.156 GB, free: 241.2 MB / 0.8855 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.0034/7.94, allocations: 1.201 MB / 3.157 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/7.94, allocations: 7.812 kB / 3.157 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/7.942, allocations: 212.7 kB / 3.157 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/7.944, allocations: 0.6293 MB / 3.158 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/7.944, allocations: 67.77 kB / 3.158 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/7.944, allocations: 88.81 kB / 3.158 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/7.946, allocations: 0.9325 MB / 3.159 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/7.946, allocations: 192 / 3.159 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/7.947, allocations: 40.75 kB / 3.159 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/7.947, allocations: 27.42 kB / 3.159 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/7.95, allocations: 1.119 MB / 3.16 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/7.956, allocations: 2.548 MB / 3.163 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/7.958, allocations: 0.7472 MB / 3.163 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008668/7.959, allocations: 284.8 kB / 3.164 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/7.96, allocations: 472 kB / 3.164 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/7.962, allocations: 450 kB / 3.165 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/7.962, allocations: 0 / 3.165 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.005096/7.967, allocations: 1.127 MB / 3.166 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/7.967, allocations: 247.8 kB / 3.166 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/7.968, allocations: 0.6522 MB / 3.167 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/7.968, allocations: 44.36 kB / 3.167 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/7.969, allocations: 402.7 kB / 3.167 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/7.969, allocations: 236.4 kB / 3.167 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/7.969, allocations: 10.38 kB / 3.167 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001312/7.969, allocations: 380.2 kB / 3.168 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/7.97, allocations: 231.2 kB / 3.168 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/7.971, allocations: 346.6 kB / 3.168 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/7.972, allocations: 267.2 kB / 3.168 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/7.972, allocations: 0 / 3.168 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003025/7.975, allocations: 0.745 MB / 3.169 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/7.975, allocations: 7.844 kB / 3.169 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/7.975, allocations: 3.984 kB / 3.169 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000984/7.976, allocations: 83.22 kB / 3.169 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/7.977, allocations: 145.3 kB / 3.169 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/7.98, allocations: 1.521 MB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/7.981, allocations: 86.11 kB / 3.171 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/7.981, allocations: 27.42 kB / 3.171 GB, free: 233.4 MB / 0.8855 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.0007156/7.982, allocations: 260.8 kB / 3.171 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/7.982, allocations: 74.22 kB / 3.171 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/7.986, allocations: 1.038 MB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/7.986, allocations: 7.812 kB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/7.986, allocations: 3.875 kB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/7.986, allocations: 7.922 kB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/7.988, allocations: 0.8911 MB / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/7.988, allocations: 0 / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/7.989, allocations: 147.9 kB / 3.173 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/7.99, allocations: 84.8 kB / 3.173 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/7.99, allocations: 22.73 kB / 3.173 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/7.992, allocations: 1.543 MB / 3.175 GB, free: 231 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.992, allocations: 0 / 3.175 GB, free: 231 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/7.996, allocations: 0.869 MB / 3.176 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/7.998, allocations: 282.3 kB / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/7.998, allocations: 22.8 kB / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/8.001, allocations: 69.36 kB / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/8.001, allocations: 60.06 kB / 3.176 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/8.001, allocations: 34.89 kB / 3.176 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001741/8.003, allocations: 484.1 kB / 3.177 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.22e-07/8.003, allocations: 0 / 3.177 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00283/8.006, allocations: 368.2 kB / 3.177 GB, free: 230.3 MB / 0.8855 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.004135/8.01, allocations: 1.038 MB / 3.178 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004001/8.014, allocations: 0.7432 MB / 3.179 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/8.014, allocations: 128 / 3.179 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/8.016, allocations: 0.4967 MB / 3.179 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/8.02, allocations: 256.7 kB / 3.18 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009889/8.03, allocations: 2.158 MB / 3.182 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/8.03, allocations: 1.017 MB / 3.183 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002197/8.033, allocations: 261.8 kB / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/8.033, allocations: 96.86 kB / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.442e-06/8.033, allocations: 0 / 3.183 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.05146/8.085, allocations: 20.43 MB / 3.203 GB, free: 216.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)