Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 191.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.27 kB / 0.5013 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4548, allocations: 80.2 MB / 0.5796 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005642/0.4605, allocations: 4.204 MB / 0.5837 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1759/0.6364, allocations: 148.3 MB / 0.7285 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.6375, allocations: 15.94 kB / 0.7286 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.6383, allocations: 130.9 kB / 0.7287 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.6407, allocations: 424.9 kB / 0.7291 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.6436, allocations: 0.7301 MB / 0.7298 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.6455, allocations: 1.196 MB / 0.731 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.6468, allocations: 0.6866 MB / 0.7316 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.6477, allocations: 462.3 kB / 0.7321 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.6485, allocations: 481.8 kB / 0.7325 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.6487, allocations: 112 kB / 0.7327 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6502, allocations: 479.6 kB / 0.7331 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.6507, allocations: 295 kB / 0.7334 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.6514, allocations: 0.5284 MB / 0.7339 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.654, allocations: 1.546 MB / 0.7354 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.654, allocations: 0 / 0.7354 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.654, allocations: 0 / 0.7354 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.564e-05/0.6541, allocations: 0 / 0.7354 GB, free: 1.594 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003096/0.6572, allocations: 1.396 MB / 0.7368 GB, free: 144 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6572, allocations: 8.031 kB / 0.7368 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6585, allocations: 203.4 kB / 0.737 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.6596, allocations: 0.7266 MB / 0.7377 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.6597, allocations: 66 kB / 0.7378 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6598, allocations: 88 kB / 0.7378 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6618, allocations: 0.9535 MB / 0.7388 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6618, allocations: 0 / 0.7388 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.6619, allocations: 44 kB / 0.7388 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.6619, allocations: 20 kB / 0.7388 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6638, allocations: 1.124 MB / 0.7399 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/0.6686, allocations: 2.566 MB / 0.7424 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6701, allocations: 0.8321 MB / 0.7432 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.6706, allocations: 286.6 kB / 0.7435 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.6713, allocations: 470.2 kB / 0.744 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.6723, allocations: 435.2 kB / 0.7444 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.6723, allocations: 0 / 0.7444 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003092/0.6754, allocations: 1.096 MB / 0.7455 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6756, allocations: 188.6 kB / 0.7456 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.6764, allocations: 0.6057 MB / 0.7462 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.6765, allocations: 41.7 kB / 0.7463 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.6769, allocations: 400.2 kB / 0.7466 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.6771, allocations: 248.4 kB / 0.7469 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.6773, allocations: 150.5 kB / 0.747 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6775, allocations: 382.7 kB / 0.7474 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.6781, allocations: 245.8 kB / 0.7476 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.6787, allocations: 335.1 kB / 0.7479 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.6798, allocations: 0.5682 MB / 0.7485 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6798, allocations: 4 kB / 0.7485 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001937/0.6817, allocations: 0.7864 MB / 0.7493 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6817, allocations: 4 kB / 0.7493 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6818, allocations: 0 / 0.7493 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.6824, allocations: 84.86 kB / 0.7494 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.683, allocations: 155.7 kB / 0.7495 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.6852, allocations: 1.63 MB / 0.7511 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.686, allocations: 79.34 kB / 0.7512 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.686, allocations: 35.97 kB / 0.7512 GB, free: 0.7852 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0004774/0.6865, allocations: 263.1 kB / 0.7515 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.6867, allocations: 83.11 kB / 0.7515 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.6892, allocations: 0.9941 MB / 0.7525 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6892, allocations: 8 kB / 0.7525 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6892, allocations: 3.938 kB / 0.7525 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.6892, allocations: 3.984 kB / 0.7525 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.6928, allocations: 1.9 MB / 0.7544 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.6928, allocations: 0 / 0.7544 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.6934, allocations: 151.8 kB / 0.7545 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.6939, allocations: 68.8 kB / 0.7546 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.694, allocations: 20.08 kB / 0.7546 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.6961, allocations: 1.674 MB / 0.7562 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6961, allocations: 64 / 0.7562 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6983, allocations: 0.9296 MB / 0.7572 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.6988, allocations: 251.8 kB / 0.7574 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.699, allocations: 23.98 kB / 0.7574 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.6997, allocations: 51.95 kB / 0.7575 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.6998, allocations: 60.91 kB / 0.7575 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.6999, allocations: 27.98 kB / 0.7575 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000693/0.7006, allocations: 443 kB / 0.758 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7006, allocations: 0 / 0.758 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001033/0.7016, allocations: 315.2 kB / 0.7583 GB, free: 9.277 MB / 0.5919 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 (84): * Single equations (assignments): 81 * 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.001538/0.7032, allocations: 0.6114 MB / 0.7589 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.7056, allocations: 0.9485 MB / 0.7598 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7056, allocations: 0 / 0.7598 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.7065, allocations: 0.5002 MB / 0.7603 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7078, allocations: 287.8 kB / 0.7606 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.7123, allocations: 2.157 MB / 0.7627 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.7131, allocations: 1.012 MB / 0.7637 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009653/0.7141, allocations: 258.1 kB / 0.7639 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.7144, allocations: 99.39 kB / 0.764 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.7144, allocations: 0 / 0.764 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.02729/0.7417, allocations: 14.11 MB / 0.7778 GB, free: 5.664 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)