Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001142/0.001142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.084/1.084, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 8 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 82.3 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006076/0.1968, allocations: 3.783 MB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4575/0.6543, allocations: 136.8 MB / 0.7247 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.6552, allocations: 19.5 kB / 0.7247 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.6558, allocations: 139.7 kB / 0.7249 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.6574, allocations: 385.8 kB / 0.7252 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.6597, allocations: 0.6971 MB / 0.7259 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.6617, allocations: 1.174 MB / 0.7271 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.6627, allocations: 0.5589 MB / 0.7276 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.6636, allocations: 365.4 kB / 0.7279 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.6643, allocations: 417.2 kB / 0.7283 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6645, allocations: 32.88 kB / 0.7284 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.6656, allocations: 360.6 kB / 0.7287 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.6659, allocations: 200.9 kB / 0.7289 GB, free: 5.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.6661, allocations: 203.5 kB / 0.7291 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.6678, allocations: 1.241 MB / 0.7303 GB, free: 5.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6678, allocations: 0 / 0.7303 GB, free: 5.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6678, allocations: 0 / 0.7303 GB, free: 5.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.6678, allocations: 0 / 0.7303 GB, free: 5.062 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002732/0.6706, allocations: 1.325 MB / 0.7316 GB, free: 4.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6706, allocations: 9.688 kB / 0.7316 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/0.6754, allocations: 0.8273 MB / 0.7324 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.6766, allocations: 0.7506 MB / 0.7332 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.6767, allocations: 75.97 kB / 0.7332 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6768, allocations: 99 kB / 0.7333 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.6799, allocations: 1.389 MB / 0.7347 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.68, allocations: 0 / 0.7347 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.6801, allocations: 46.14 kB / 0.7347 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.6801, allocations: 32.2 kB / 0.7348 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.6843, allocations: 1.885 MB / 0.7366 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.6903, allocations: 3.148 MB / 0.7397 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.693, allocations: 1.288 MB / 0.7409 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.6943, allocations: 0.574 MB / 0.7415 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.695, allocations: 482.6 kB / 0.742 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.6966, allocations: 0.7348 MB / 0.7427 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.875e-06/0.6966, allocations: 0 / 0.7427 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.005406/0.702, allocations: 1.856 MB / 0.7445 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.7022, allocations: 200.9 kB / 0.7447 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.703, allocations: 0.6056 MB / 0.7453 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/0.7031, allocations: 45.7 kB / 0.7453 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.7034, allocations: 412.5 kB / 0.7457 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.7037, allocations: 335.1 kB / 0.746 GB, free: 10 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.7038, allocations: 20 kB / 0.746 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.704, allocations: 386.8 kB / 0.7464 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.7053, allocations: 477.7 kB / 0.7469 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7066, allocations: 0.5818 MB / 0.7474 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.7079, allocations: 0.5027 MB / 0.7479 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7079, allocations: 4 kB / 0.7479 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003291/0.7112, allocations: 1.302 MB / 0.7492 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7113, allocations: 11.98 kB / 0.7492 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7113, allocations: 0 / 0.7492 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.7118, allocations: 84.88 kB / 0.7493 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.713, allocations: 255.6 kB / 0.7495 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.7151, allocations: 1.516 MB / 0.751 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.7163, allocations: 163 kB / 0.7512 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7164, allocations: 47.95 kB / 0.7512 GB, free: 4.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006943/0.7171, allocations: 273 kB / 0.7515 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.7174, allocations: 98.86 kB / 0.7516 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.7217, allocations: 1.581 MB / 0.7531 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7217, allocations: 15.98 kB / 0.7531 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7217, allocations: 0 / 0.7531 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7218, allocations: 3.984 kB / 0.7531 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/0.7278, allocations: 2.745 MB / 0.7558 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.7278, allocations: 0 / 0.7558 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.729, allocations: 257.7 kB / 0.7561 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.7295, allocations: 84.77 kB / 0.7561 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.7296, allocations: 31.97 kB / 0.7562 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.7315, allocations: 1.536 MB / 0.7577 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7316, allocations: 4.875 kB / 0.7577 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/0.7356, allocations: 1.441 MB / 0.7591 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.7363, allocations: 307.5 kB / 0.7594 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.7365, allocations: 27.95 kB / 0.7594 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7377, allocations: 127.9 kB / 0.7595 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.7378, allocations: 72.89 kB / 0.7596 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.7379, allocations: 44.09 kB / 0.7596 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007267/0.7387, allocations: 435 kB / 0.7601 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7387, allocations: 0 / 0.7601 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001423/0.7401, allocations: 371 kB / 0.7604 GB, free: 10.84 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 (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.7418, allocations: 0.621 MB / 0.761 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.7455, allocations: 1.315 MB / 0.7623 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.7455, allocations: 4 kB / 0.7623 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.7474, allocations: 0.7773 MB / 0.7631 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.749, allocations: 261.1 kB / 0.7633 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.7549, allocations: 2.567 MB / 0.7658 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7561, allocations: 1.06 MB / 0.7669 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002061/0.7581, allocations: 327.2 kB / 0.7672 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.7587, allocations: 115.4 kB / 0.7673 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.7587, allocations: 0 / 0.7673 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.03227/0.791, allocations: 15.92 MB / 0.7828 GB, free: 4.188 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)