Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001862/0.001862, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7798/0.7798, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.94 kB / 0.5011 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4452, allocations: 80.21 MB / 0.5794 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005758/0.451, allocations: 4.168 MB / 0.5835 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1911/0.6422, allocations: 148.2 MB / 0.7282 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.6433, allocations: 19.88 kB / 0.7282 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.6439, allocations: 135 kB / 0.7283 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.6461, allocations: 397.2 kB / 0.7287 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.6481, allocations: 0.6991 MB / 0.7294 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.6493, allocations: 1.113 MB / 0.7305 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000851/0.6502, allocations: 0.6581 MB / 0.7311 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.6507, allocations: 398.3 kB / 0.7315 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.6512, allocations: 457.8 kB / 0.7319 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.6513, allocations: 60 kB / 0.732 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.6522, allocations: 403.6 kB / 0.7324 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.6524, allocations: 239 kB / 0.7326 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.6528, allocations: 489.1 kB / 0.7331 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6543, allocations: 1.476 MB / 0.7345 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6543, allocations: 0 / 0.7345 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6543, allocations: 0 / 0.7345 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6543, allocations: 4 kB / 0.7345 GB, free: 2.398 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002228/0.6565, allocations: 1.381 MB / 0.7359 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.6566, allocations: 8.031 kB / 0.7359 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.6577, allocations: 215.4 kB / 0.7361 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/0.6587, allocations: 0.715 MB / 0.7368 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.6587, allocations: 70 kB / 0.7368 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6589, allocations: 88 kB / 0.7369 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6604, allocations: 0.9487 MB / 0.7379 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6605, allocations: 0 / 0.7379 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.6605, allocations: 36 kB / 0.7379 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.6606, allocations: 20 kB / 0.7379 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6624, allocations: 1.132 MB / 0.739 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.6664, allocations: 2.472 MB / 0.7414 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.6686, allocations: 0.89 MB / 0.7423 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.6691, allocations: 282.7 kB / 0.7426 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.6692, allocations: 36.61 kB / 0.7426 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008492/0.6701, allocations: 435.3 kB / 0.743 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.964e-06/0.6701, allocations: 0 / 0.743 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003041/0.6731, allocations: 1.088 MB / 0.7441 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6733, allocations: 192.6 kB / 0.7443 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.6741, allocations: 0.6056 MB / 0.7449 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.6742, allocations: 37.7 kB / 0.7449 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.6745, allocations: 396.2 kB / 0.7453 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.6748, allocations: 248.4 kB / 0.7455 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.675, allocations: 154.5 kB / 0.7457 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.6752, allocations: 382.7 kB / 0.746 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.6757, allocations: 241.9 kB / 0.7462 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.6764, allocations: 343 kB / 0.7466 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6774, allocations: 0.5604 MB / 0.7471 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6774, allocations: 0 / 0.7471 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001876/0.6793, allocations: 0.7941 MB / 0.7479 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6793, allocations: 4 kB / 0.7479 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6794, allocations: 3.984 kB / 0.7479 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.68, allocations: 80.88 kB / 0.748 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.6806, allocations: 151.8 kB / 0.7481 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.6828, allocations: 1.524 MB / 0.7496 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.6835, allocations: 81.86 kB / 0.7497 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.6836, allocations: 36.05 kB / 0.7497 GB, free: 2.289 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 (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.0005317/0.6841, allocations: 261.8 kB / 0.75 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6843, allocations: 79 kB / 0.7501 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.6866, allocations: 0.9901 MB / 0.751 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6866, allocations: 8 kB / 0.751 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.6866, allocations: 4 kB / 0.751 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.6866, allocations: 3.984 kB / 0.751 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.69, allocations: 1.9 MB / 0.7529 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.69, allocations: 0 / 0.7529 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.6906, allocations: 147.7 kB / 0.753 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/0.6912, allocations: 84.77 kB / 0.7531 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.6912, allocations: 23.98 kB / 0.7531 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.6931, allocations: 1.544 MB / 0.7546 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6931, allocations: 4.031 kB / 0.7546 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.695, allocations: 0.9179 MB / 0.7555 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.6954, allocations: 255.8 kB / 0.7558 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.6956, allocations: 19.98 kB / 0.7558 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.6962, allocations: 55.95 kB / 0.7559 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6964, allocations: 68.78 kB / 0.7559 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.6964, allocations: 27.98 kB / 0.756 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000597/0.697, allocations: 439 kB / 0.7564 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.697, allocations: 0 / 0.7564 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009864/0.698, allocations: 311 kB / 0.7567 GB, free: 10.92 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 (85): * Single equations (assignments): 82 * 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.001485/0.6995, allocations: 0.5864 MB / 0.7572 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.7017, allocations: 0.7728 MB / 0.758 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7017, allocations: 0 / 0.758 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.7031, allocations: 492.3 kB / 0.7585 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7043, allocations: 266.2 kB / 0.7587 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.7086, allocations: 2.145 MB / 0.7608 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.7093, allocations: 1.015 MB / 0.7618 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009781/0.7103, allocations: 258.2 kB / 0.762 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.7106, allocations: 99.39 kB / 0.7621 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7106, allocations: 0 / 0.7621 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of Templates: time 0.02544/0.736, allocations: 13.53 MB / 0.7754 GB, free: 8.105 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)