Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006856/0.006856, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001329/0.001329, allocations: 194.7 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.837/0.837, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 57.59 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1984, allocations: 80.93 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006158/0.2046, allocations: 4.181 MB / 0.6687 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6246/0.8293, allocations: 150.5 MB / 0.8157 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.8304, allocations: 18.88 kB / 0.8158 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.8311, allocations: 172 kB / 0.8159 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.833, allocations: 473 kB / 0.8164 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.8352, allocations: 0.8172 MB / 0.8172 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.8367, allocations: 1.2 MB / 0.8183 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.8378, allocations: 0.6933 MB / 0.819 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.8386, allocations: 463.9 kB / 0.8195 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.8392, allocations: 480.9 kB / 0.8199 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.8394, allocations: 111.9 kB / 0.82 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.8405, allocations: 0.4975 MB / 0.8205 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.8408, allocations: 288.3 kB / 0.8208 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.8413, allocations: 0.527 MB / 0.8213 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.8436, allocations: 1.592 MB / 0.8229 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8436, allocations: 0 / 0.8229 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8436, allocations: 0 / 0.8229 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.8437, allocations: 2.469 kB / 0.8229 GB, free: 5.168 MB / 0.5919 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.002362/0.846, allocations: 1.429 MB / 0.8243 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8461, allocations: 11.23 kB / 0.8243 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.8472, allocations: 214 kB / 0.8245 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.8485, allocations: 0.7531 MB / 0.8252 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.8486, allocations: 69.03 kB / 0.8253 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8487, allocations: 86.09 kB / 0.8254 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.8504, allocations: 0.9541 MB / 0.8263 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.8504, allocations: 6.266 kB / 0.8263 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.8505, allocations: 35.69 kB / 0.8263 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.8505, allocations: 22.19 kB / 0.8263 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.8523, allocations: 1.124 MB / 0.8274 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/0.8564, allocations: 2.523 MB / 0.8299 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.8579, allocations: 0.8222 MB / 0.8307 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.8584, allocations: 290 kB / 0.831 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.8591, allocations: 473 kB / 0.8314 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008083/0.8599, allocations: 440.4 kB / 0.8319 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.104e-06/0.8599, allocations: 0 / 0.8319 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002961/0.8629, allocations: 1.109 MB / 0.8329 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.863, allocations: 194.7 kB / 0.8331 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.8639, allocations: 0.6023 MB / 0.8337 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.8639, allocations: 38.89 kB / 0.8338 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.8643, allocations: 412.3 kB / 0.8341 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.8645, allocations: 252.2 kB / 0.8344 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.8647, allocations: 149 kB / 0.8345 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.8649, allocations: 384.5 kB / 0.8349 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.8654, allocations: 249.3 kB / 0.8351 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.866, allocations: 330.1 kB / 0.8354 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.8671, allocations: 0.5708 MB / 0.836 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8671, allocations: 0 / 0.836 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001881/0.869, allocations: 0.7957 MB / 0.8368 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.869, allocations: 4.688 kB / 0.8368 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8691, allocations: 5.062 kB / 0.8368 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.8697, allocations: 83.08 kB / 0.8369 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.8703, allocations: 150.9 kB / 0.837 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.8724, allocations: 1.627 MB / 0.8386 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.8731, allocations: 90.88 kB / 0.8387 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.8732, allocations: 35.97 kB / 0.8387 GB, free: 9.656 MB / 0.6075 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.000497/0.8737, allocations: 261.9 kB / 0.839 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.8738, allocations: 86.75 kB / 0.8391 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.8761, allocations: 0.9885 MB / 0.84 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.8761, allocations: 9.531 kB / 0.84 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.8761, allocations: 0 / 0.84 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.8761, allocations: 11.92 kB / 0.84 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.8793, allocations: 1.9 MB / 0.8419 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8793, allocations: 0 / 0.8419 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.8799, allocations: 149.9 kB / 0.842 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.8803, allocations: 71.11 kB / 0.8421 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.8804, allocations: 23.45 kB / 0.8421 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.8823, allocations: 1.667 MB / 0.8438 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8823, allocations: 0 / 0.8438 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.8842, allocations: 0.9304 MB / 0.8447 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.8847, allocations: 257.5 kB / 0.8449 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.8848, allocations: 17 kB / 0.8449 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.8854, allocations: 58.64 kB / 0.845 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.8856, allocations: 63.12 kB / 0.845 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.8856, allocations: 27.52 kB / 0.8451 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006253/0.8863, allocations: 439.4 kB / 0.8455 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8863, allocations: 0 / 0.8455 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001113/0.8874, allocations: 319.3 kB / 0.8458 GB, free: 4.648 MB / 0.6075 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.001589/0.889, allocations: 0.6152 MB / 0.8464 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.8909, allocations: 0.774 MB / 0.8472 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8909, allocations: 3.984 kB / 0.8472 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009367/0.8918, allocations: 496.2 kB / 0.8476 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.8933, allocations: 277.7 kB / 0.8479 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.8978, allocations: 1.745 MB / 0.8496 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/0.8988, allocations: 1.015 MB / 0.8506 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8999, allocations: 262.1 kB / 0.8508 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.9002, allocations: 91.39 kB / 0.8509 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of SimCode: time 1.693e-06/0.9002, allocations: 4 kB / 0.8509 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.03062/0.9309, allocations: 14.35 MB / 0.8649 GB, free: 1.496 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)