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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001371/0.001371, allocations: 189.9 kB / 16.14 MB, free: 6.656 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.47 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4436, allocations: 80.2 MB / 0.5794 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005451/0.4491, allocations: 4.205 MB / 0.5835 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1898/0.639, allocations: 148.2 MB / 0.7282 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.6402, allocations: 15.94 kB / 0.7283 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.6408, allocations: 138.9 kB / 0.7284 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.6429, allocations: 396.8 kB / 0.7288 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.6455, allocations: 0.6991 MB / 0.7294 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.6471, allocations: 1.121 MB / 0.7305 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009835/0.6481, allocations: 0.6909 MB / 0.7312 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007612/0.6489, allocations: 402.3 kB / 0.7316 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.6494, allocations: 465.8 kB / 0.732 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.6495, allocations: 60 kB / 0.7321 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.6506, allocations: 403.6 kB / 0.7325 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.6509, allocations: 247 kB / 0.7327 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.6514, allocations: 493.1 kB / 0.7332 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.6531, allocations: 1.491 MB / 0.7346 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6531, allocations: 0 / 0.7346 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6531, allocations: 0 / 0.7346 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.6531, allocations: 0 / 0.7346 GB, free: 2.27 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002533/0.6557, allocations: 1.396 MB / 0.736 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6557, allocations: 8.031 kB / 0.736 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6575, allocations: 311.2 kB / 0.7363 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6586, allocations: 0.7267 MB / 0.737 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.6587, allocations: 69.98 kB / 0.7371 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6588, allocations: 88 kB / 0.7372 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.6607, allocations: 1.003 MB / 0.7382 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6608, allocations: 0 / 0.7382 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.6609, allocations: 44 kB / 0.7382 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.6609, allocations: 20 kB / 0.7382 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.6631, allocations: 1.221 MB / 0.7394 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.6676, allocations: 2.571 MB / 0.7419 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.6701, allocations: 0.9468 MB / 0.7428 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.6708, allocations: 338.5 kB / 0.7432 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.6709, allocations: 28.69 kB / 0.7432 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.672, allocations: 491.1 kB / 0.7437 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.885e-06/0.672, allocations: 0 / 0.7437 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003619/0.6756, allocations: 1.238 MB / 0.7449 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.6758, allocations: 188.6 kB / 0.7451 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/0.6766, allocations: 0.6017 MB / 0.7456 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.6767, allocations: 45.7 kB / 0.7457 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.677, allocations: 396.2 kB / 0.7461 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.6772, allocations: 252.3 kB / 0.7463 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.6775, allocations: 154.5 kB / 0.7465 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6777, allocations: 382.7 kB / 0.7468 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.6784, allocations: 293.8 kB / 0.7471 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.6792, allocations: 379.1 kB / 0.7475 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.6806, allocations: 0.6541 MB / 0.7481 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6806, allocations: 4.062 kB / 0.7481 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002327/0.683, allocations: 0.8878 MB / 0.749 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.683, allocations: 8 kB / 0.749 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.683, allocations: 0 / 0.749 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.6836, allocations: 80.81 kB / 0.7491 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.6844, allocations: 175.8 kB / 0.7492 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.6865, allocations: 1.516 MB / 0.7507 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/0.6874, allocations: 99.47 kB / 0.7508 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.6874, allocations: 39.97 kB / 0.7508 GB, free: 1.164 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.0005104/0.688, allocations: 253.6 kB / 0.7511 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6881, allocations: 83 kB / 0.7512 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.6908, allocations: 1.108 MB / 0.7522 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6908, allocations: 11.98 kB / 0.7522 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6908, allocations: 0 / 0.7522 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.6908, allocations: 7.922 kB / 0.7523 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.6945, allocations: 2.035 MB / 0.7542 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6945, allocations: 4 kB / 0.7542 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.6953, allocations: 167.8 kB / 0.7544 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/0.6958, allocations: 84.77 kB / 0.7545 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.6959, allocations: 27.92 kB / 0.7545 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.6977, allocations: 1.532 MB / 0.756 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6977, allocations: 0 / 0.756 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.7001, allocations: 1.023 MB / 0.757 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.7005, allocations: 259.8 kB / 0.7573 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.7006, allocations: 27.92 kB / 0.7573 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.7014, allocations: 70.88 kB / 0.7574 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.7015, allocations: 64.92 kB / 0.7574 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.7016, allocations: 35.97 kB / 0.7574 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005518/0.7022, allocations: 435 kB / 0.7579 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7022, allocations: 0 / 0.7579 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008969/0.7031, allocations: 307.1 kB / 0.7582 GB, free: 9.406 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.001454/0.7045, allocations: 0.5979 MB / 0.7587 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.7066, allocations: 0.8742 MB / 0.7596 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7066, allocations: 0 / 0.7596 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7077, allocations: 0.5354 MB / 0.7601 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.7089, allocations: 251.6 kB / 0.7604 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.7132, allocations: 2.219 MB / 0.7625 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.7139, allocations: 1.023 MB / 0.7635 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7149, allocations: 274.1 kB / 0.7638 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.7152, allocations: 103.4 kB / 0.7639 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.7152, allocations: 0 / 0.7639 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of Templates: time 0.02397/0.7392, allocations: 13.83 MB / 0.7774 GB, free: 6.02 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)