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.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 197 kB / 16.53 MB, free: 6.699 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6625/0.6625, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 63.3 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.361, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005037/0.3661, allocations: 4.186 MB / 0.5842 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1518/0.5179, allocations: 150.5 MB / 0.7311 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.5187, allocations: 15.94 kB / 0.7312 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.5192, allocations: 178.3 kB / 0.7313 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5206, allocations: 480.1 kB / 0.7318 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.5224, allocations: 0.8007 MB / 0.7326 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.5234, allocations: 1.203 MB / 0.7337 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.5242, allocations: 0.7077 MB / 0.7344 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.5247, allocations: 466.3 kB / 0.7349 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.5252, allocations: 489.8 kB / 0.7353 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5253, allocations: 116 kB / 0.7355 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007627/0.5261, allocations: 459.6 kB / 0.7359 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.5263, allocations: 295 kB / 0.7362 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.5268, allocations: 0.5284 MB / 0.7367 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.5283, allocations: 1.542 MB / 0.7382 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5283, allocations: 4 kB / 0.7382 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5283, allocations: 0 / 0.7382 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.5283, allocations: 4 kB / 0.7382 GB, free: 15.04 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.002053/0.5304, allocations: 1.392 MB / 0.7396 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5304, allocations: 12.03 kB / 0.7396 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.5319, allocations: 295.2 kB / 0.7399 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.5328, allocations: 0.7344 MB / 0.7406 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.5328, allocations: 66 kB / 0.7406 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.5329, allocations: 88 kB / 0.7407 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5345, allocations: 1.003 MB / 0.7417 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5345, allocations: 4 kB / 0.7417 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.5346, allocations: 36 kB / 0.7417 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5346, allocations: 20 kB / 0.7418 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.5367, allocations: 1.225 MB / 0.743 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.5404, allocations: 2.579 MB / 0.7455 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.5427, allocations: 0.9313 MB / 0.7464 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.5434, allocations: 330.7 kB / 0.7467 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5435, allocations: 36.67 kB / 0.7467 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.5444, allocations: 495.2 kB / 0.7472 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.184e-06/0.5444, allocations: 0 / 0.7472 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.00329/0.5477, allocations: 1.234 MB / 0.7484 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.5478, allocations: 192.5 kB / 0.7486 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.5485, allocations: 0.5978 MB / 0.7492 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.5485, allocations: 37.7 kB / 0.7492 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.5488, allocations: 400.2 kB / 0.7496 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.549, allocations: 256.3 kB / 0.7498 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.5492, allocations: 158.5 kB / 0.75 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5493, allocations: 386.7 kB / 0.7504 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.55, allocations: 285.8 kB / 0.7506 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.5507, allocations: 387.1 kB / 0.751 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.5521, allocations: 0.6541 MB / 0.7516 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5521, allocations: 4.062 kB / 0.7516 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002051/0.5542, allocations: 0.8839 MB / 0.7525 GB, free: 0 / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5542, allocations: 4.047 kB / 0.7525 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5542, allocations: 3.938 kB / 0.7525 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.5548, allocations: 88.75 kB / 0.7526 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.5555, allocations: 171.8 kB / 0.7528 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.5573, allocations: 1.622 MB / 0.7543 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.558, allocations: 99.47 kB / 0.7544 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.5581, allocations: 35.98 kB / 0.7545 GB, free: 13.83 MB / 0.5919 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.0003356/0.5584, allocations: 265.5 kB / 0.7547 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5585, allocations: 75.25 kB / 0.7548 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.5611, allocations: 1.104 MB / 0.7559 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5611, allocations: 11.94 kB / 0.7559 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.5611, allocations: 0 / 0.7559 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5611, allocations: 7.969 kB / 0.7559 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.5646, allocations: 2.035 MB / 0.7579 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5646, allocations: 3.984 kB / 0.7579 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.5652, allocations: 167.8 kB / 0.758 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.5657, allocations: 72.78 kB / 0.7581 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.5657, allocations: 23.98 kB / 0.7581 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5674, allocations: 1.654 MB / 0.7598 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5674, allocations: 0 / 0.7598 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.5695, allocations: 1.023 MB / 0.7608 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.5698, allocations: 263.8 kB / 0.761 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.57, allocations: 16 kB / 0.761 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.5706, allocations: 78.73 kB / 0.7611 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.5707, allocations: 60.91 kB / 0.7612 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.5708, allocations: 31.98 kB / 0.7612 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004612/0.5713, allocations: 439 kB / 0.7616 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5713, allocations: 0 / 0.7616 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000735/0.572, allocations: 311 kB / 0.7619 GB, free: 5.957 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 (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.001148/0.5732, allocations: 0.5974 MB / 0.7625 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.5755, allocations: 1.066 MB / 0.7635 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5755, allocations: 0 / 0.7635 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.5765, allocations: 0.5392 MB / 0.7641 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5776, allocations: 296.3 kB / 0.7643 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.581, allocations: 1.79 MB / 0.7661 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.5815, allocations: 1.031 MB / 0.7671 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007338/0.5822, allocations: 262.3 kB / 0.7673 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.5825, allocations: 103.4 kB / 0.7674 GB, free: 448 kB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5825, allocations: 0 / 0.7674 GB, free: 448 kB / 0.5919 GB Notification: Performance of Templates: time 0.02008/0.6026, allocations: 14.4 MB / 0.7815 GB, free: 2.246 MB / 0.6075 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)