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.00842/0.00842, allocations: 99.19 kB / 15.73 MB, free: 6.453 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.001784/0.001784, allocations: 196 kB / 16.68 MB, free: 6.352 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.741/0.741, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.5813 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4675, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005373/0.4729, allocations: 4.195 MB / 0.6638 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.6444, allocations: 150.5 MB / 0.8108 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.6454, allocations: 19.88 kB / 0.8108 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.646, allocations: 170.5 kB / 0.811 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.6477, allocations: 485.2 kB / 0.8114 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.6498, allocations: 0.8176 MB / 0.8122 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.6509, allocations: 1.207 MB / 0.8134 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.6517, allocations: 0.6861 MB / 0.8141 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.6523, allocations: 458.3 kB / 0.8145 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.6528, allocations: 489.8 kB / 0.815 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.6529, allocations: 112 kB / 0.8151 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009411/0.6539, allocations: 495.6 kB / 0.8155 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.6541, allocations: 295 kB / 0.8158 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.6546, allocations: 0.5284 MB / 0.8163 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.6562, allocations: 1.593 MB / 0.8179 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6562, allocations: 0 / 0.8179 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6563, allocations: 0 / 0.8179 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6563, allocations: 0 / 0.8179 GB, free: 3.629 MB / 0.6387 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.002002/0.6583, allocations: 1.433 MB / 0.8193 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6583, allocations: 8.031 kB / 0.8193 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.6593, allocations: 208 kB / 0.8195 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6604, allocations: 0.7584 MB / 0.8202 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.6605, allocations: 66 kB / 0.8203 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6606, allocations: 88 kB / 0.8204 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6621, allocations: 0.9496 MB / 0.8213 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.6622, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.6623, allocations: 36 kB / 0.8214 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.6623, allocations: 24 kB / 0.8214 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.664, allocations: 1.124 MB / 0.8225 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.6677, allocations: 2.536 MB / 0.8249 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6691, allocations: 0.8245 MB / 0.8258 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.6696, allocations: 290.6 kB / 0.826 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.6702, allocations: 474.2 kB / 0.8265 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.6709, allocations: 431.6 kB / 0.8269 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.6709, allocations: 0 / 0.8269 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002979/0.6739, allocations: 1.104 MB / 0.828 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.674, allocations: 192.6 kB / 0.8282 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.6749, allocations: 0.6018 MB / 0.8287 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.675, allocations: 37.7 kB / 0.8288 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.6753, allocations: 408.9 kB / 0.8292 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.6756, allocations: 257.9 kB / 0.8294 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.6758, allocations: 150.5 kB / 0.8296 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.676, allocations: 390.7 kB / 0.8299 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.6765, allocations: 241.9 kB / 0.8302 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.6771, allocations: 339 kB / 0.8305 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.6782, allocations: 0.5643 MB / 0.831 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6782, allocations: 0 / 0.831 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001894/0.6801, allocations: 0.7985 MB / 0.8318 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.6801, allocations: 8 kB / 0.8318 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6801, allocations: 0 / 0.8318 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.6807, allocations: 80.84 kB / 0.8319 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.6813, allocations: 155.7 kB / 0.8321 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.6834, allocations: 1.634 MB / 0.8336 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.6841, allocations: 81.39 kB / 0.8337 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.6842, allocations: 35.98 kB / 0.8338 GB, free: 2.766 MB / 0.6544 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.0005973/0.6848, allocations: 259.1 kB / 0.834 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.685, allocations: 87.55 kB / 0.8341 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.6874, allocations: 0.9902 MB / 0.8351 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6874, allocations: 8 kB / 0.8351 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6874, allocations: 3.938 kB / 0.8351 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.6874, allocations: 3.984 kB / 0.8351 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.6909, allocations: 1.901 MB / 0.8369 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6909, allocations: 0 / 0.8369 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.6914, allocations: 139.8 kB / 0.8371 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.6919, allocations: 76.78 kB / 0.8371 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.692, allocations: 23.98 kB / 0.8372 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.6938, allocations: 1.662 MB / 0.8388 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6938, allocations: 4.031 kB / 0.8388 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.6957, allocations: 0.9243 MB / 0.8397 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.6961, allocations: 264.2 kB / 0.8399 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6962, allocations: 16 kB / 0.84 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.6969, allocations: 55.94 kB / 0.84 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.697, allocations: 64.86 kB / 0.8401 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.6971, allocations: 27.98 kB / 0.8401 GB, free: 12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005829/0.6977, allocations: 439 kB / 0.8405 GB, free: 11.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6977, allocations: 0 / 0.8405 GB, free: 11.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009433/0.6986, allocations: 319.1 kB / 0.8408 GB, free: 11.26 MB / 0.67 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.001506/0.7001, allocations: 0.6216 MB / 0.8414 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.7018, allocations: 0.7767 MB / 0.8422 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7019, allocations: 0 / 0.8422 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009002/0.7028, allocations: 0.4923 MB / 0.8427 GB, free: 9.551 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.704, allocations: 289.9 kB / 0.8429 GB, free: 9.297 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.7081, allocations: 1.735 MB / 0.8446 GB, free: 7.535 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.7088, allocations: 1.029 MB / 0.8456 GB, free: 6.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008428/0.7096, allocations: 253.5 kB / 0.8459 GB, free: 6.234 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.7099, allocations: 95.39 kB / 0.846 GB, free: 6.141 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.7099, allocations: 4 kB / 0.846 GB, free: 6.137 MB / 0.67 GB Notification: Performance of Templates: time 0.0257/0.7356, allocations: 14.31 MB / 0.86 GB, free: 8.016 MB / 0.6856 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)