Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.00123, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001171/0.001171, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3693, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005148/0.3745, allocations: 4.196 MB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1526/0.5272, allocations: 150.5 MB / 0.7325 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.5279, allocations: 23.88 kB / 0.7326 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.5284, allocations: 170.5 kB / 0.7327 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.5298, allocations: 472.8 kB / 0.7332 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5315, allocations: 0.8026 MB / 0.734 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.5326, allocations: 1.215 MB / 0.7352 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.5334, allocations: 0.7093 MB / 0.7358 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.5339, allocations: 466.3 kB / 0.7363 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.5344, allocations: 485.8 kB / 0.7368 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.5345, allocations: 116 kB / 0.7369 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.5353, allocations: 487.6 kB / 0.7373 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.5355, allocations: 291 kB / 0.7376 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.5359, allocations: 0.5362 MB / 0.7381 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.5373, allocations: 1.577 MB / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5373, allocations: 0 / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5373, allocations: 4 kB / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5373, allocations: 0 / 0.7397 GB, free: 11.68 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001987/0.5393, allocations: 1.393 MB / 0.741 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5394, allocations: 12.03 kB / 0.741 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.5409, allocations: 303.2 kB / 0.7413 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.542, allocations: 0.7422 MB / 0.7421 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.542, allocations: 73.94 kB / 0.7421 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5421, allocations: 88 kB / 0.7422 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.5438, allocations: 1.007 MB / 0.7432 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5438, allocations: 0 / 0.7432 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.5439, allocations: 36 kB / 0.7432 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5439, allocations: 24 kB / 0.7433 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.546, allocations: 1.229 MB / 0.7445 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.5498, allocations: 2.543 MB / 0.7469 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.5521, allocations: 0.9376 MB / 0.7479 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007092/0.5528, allocations: 330.7 kB / 0.7482 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.5529, allocations: 32.69 kB / 0.7482 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.5539, allocations: 487.1 kB / 0.7487 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.404e-06/0.5539, allocations: 0 / 0.7487 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003413/0.5573, allocations: 1.234 MB / 0.7499 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.5574, allocations: 192.6 kB / 0.7501 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.5581, allocations: 0.6017 MB / 0.7506 GB, free: 120 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.5582, allocations: 41.7 kB / 0.7507 GB, free: 72 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3067/0.8649, allocations: 400.9 kB / 0.7511 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.8653, allocations: 250.6 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.8656, allocations: 152.6 kB / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8658, allocations: 386.6 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.8667, allocations: 290.3 kB / 0.7521 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/0.8676, allocations: 383.7 kB / 0.7525 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.8692, allocations: 0.6537 MB / 0.7531 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8692, allocations: 0.5156 kB / 0.7531 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002553/0.8717, allocations: 0.8804 MB / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.8718, allocations: 6.438 kB / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.8718, allocations: 6.891 kB / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.8725, allocations: 85.16 kB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.8733, allocations: 173.4 kB / 0.7542 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.8754, allocations: 1.631 MB / 0.7558 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.8763, allocations: 100.8 kB / 0.7559 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.8764, allocations: 33.38 kB / 0.7559 GB, free: 164.6 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 (86): * Single equations (assignments): 85 * 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.000493/0.8769, allocations: 263.8 kB / 0.7562 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.8771, allocations: 76.53 kB / 0.7563 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.8801, allocations: 1.11 MB / 0.7573 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.8801, allocations: 9.625 kB / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.8801, allocations: 0 / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8801, allocations: 8.109 kB / 0.7574 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.8843, allocations: 2.021 MB / 0.7593 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.8843, allocations: 0 / 0.7593 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.8851, allocations: 169.5 kB / 0.7595 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.8855, allocations: 73.36 kB / 0.7596 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.8856, allocations: 24.02 kB / 0.7596 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.8875, allocations: 1.659 MB / 0.7612 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8875, allocations: 1.406 kB / 0.7612 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.8903, allocations: 1.022 MB / 0.7622 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.8908, allocations: 266.4 kB / 0.7625 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.8909, allocations: 15.88 kB / 0.7625 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.8916, allocations: 76.31 kB / 0.7626 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8918, allocations: 64.16 kB / 0.7626 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.8918, allocations: 32.45 kB / 0.7626 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006645/0.8925, allocations: 439.3 kB / 0.7631 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8925, allocations: 1.25 kB / 0.7631 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001212/0.8937, allocations: 310.4 kB / 0.7634 GB, free: 160 MB / 0.5762 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 (88): * Single equations (assignments): 85 * 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.001447/0.8952, allocations: 0.6003 MB / 0.7639 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.8972, allocations: 0.8707 MB / 0.7648 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8973, allocations: 1.031 kB / 0.7648 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.8983, allocations: 0.5348 MB / 0.7653 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.8995, allocations: 283.3 kB / 0.7656 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.9033, allocations: 1.785 MB / 0.7673 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.9037, allocations: 1.029 MB / 0.7683 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007697/0.9045, allocations: 266.6 kB / 0.7686 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.9047, allocations: 100.3 kB / 0.7687 GB, free: 157 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.9047, allocations: 0 / 0.7687 GB, free: 157 MB / 0.5762 GB Notification: Performance of Templates: time 0.02096/0.9257, allocations: 14.4 MB / 0.7828 GB, free: 142.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)