Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 403.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 101.9 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.91 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1397, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006088/0.1458, allocations: 4.431 MB / 0.6445 GB, free: 2.305 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.499/0.6448, allocations: 148.3 MB / 0.7894 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.6456, allocations: 15.94 kB / 0.7894 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.6462, allocations: 142.8 kB / 0.7895 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.6475, allocations: 406.8 kB / 0.7899 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.6493, allocations: 0.7807 MB / 0.7907 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.6504, allocations: 1.286 MB / 0.7919 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009334/0.6514, allocations: 0.7672 MB / 0.7927 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.6519, allocations: 478 kB / 0.7931 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.6525, allocations: 0.5405 MB / 0.7936 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.6526, allocations: 68 kB / 0.7937 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.6534, allocations: 440.6 kB / 0.7941 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.6537, allocations: 267 kB / 0.7944 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.6541, allocations: 0.5398 MB / 0.7949 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.6557, allocations: 1.647 MB / 0.7965 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6557, allocations: 0 / 0.7965 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6557, allocations: 0 / 0.7965 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.6558, allocations: 4 kB / 0.7965 GB, free: 2.883 MB / 0.5261 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.002703/0.6585, allocations: 1.553 MB / 0.798 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6585, allocations: 12.03 kB / 0.7981 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/0.6636, allocations: 0.7484 MB / 0.7988 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6649, allocations: 0.7778 MB / 0.7995 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.6649, allocations: 74.09 kB / 0.7996 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6651, allocations: 104 kB / 0.7997 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.6682, allocations: 1.368 MB / 0.801 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6682, allocations: 3.938 kB / 0.8011 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.6683, allocations: 48 kB / 0.8011 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.6683, allocations: 24 kB / 0.8011 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.6729, allocations: 1.834 MB / 0.8029 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/0.6793, allocations: 3.136 MB / 0.806 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.6826, allocations: 1.281 MB / 0.8072 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.6841, allocations: 0.5632 MB / 0.8078 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.6848, allocations: 490.6 kB / 0.8082 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.6866, allocations: 0.7309 MB / 0.809 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=100): time 2.805e-06/0.6866, allocations: 0 / 0.809 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of matching and sorting (n=100): time 0.005893/0.6925, allocations: 1.84 MB / 0.8108 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6927, allocations: 200.9 kB / 0.8109 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/0.6935, allocations: 0.6095 MB / 0.8115 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/0.6935, allocations: 45.7 kB / 0.8116 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.6939, allocations: 408.5 kB / 0.812 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.6941, allocations: 335.1 kB / 0.8123 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.6945, allocations: 190.5 kB / 0.8125 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6946, allocations: 386.7 kB / 0.8128 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.6961, allocations: 481.7 kB / 0.8133 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.6976, allocations: 0.574 MB / 0.8139 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.7005, allocations: 1.027 MB / 0.8149 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7006, allocations: 0 / 0.8149 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003892/0.7045, allocations: 1.294 MB / 0.8161 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7045, allocations: 8.844 kB / 0.8161 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.7045, allocations: 3.938 kB / 0.8161 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.7051, allocations: 92.83 kB / 0.8162 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.7064, allocations: 247.7 kB / 0.8165 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.7084, allocations: 1.516 MB / 0.8179 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7096, allocations: 157.2 kB / 0.8181 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7097, allocations: 43.95 kB / 0.8181 GB, free: 12.07 MB / 0.5573 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 (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 (112): * Single equations (assignments): 111 * 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.0004555/0.7102, allocations: 280.7 kB / 0.8184 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7103, allocations: 86.97 kB / 0.8185 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/0.7148, allocations: 1.574 MB / 0.82 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.7148, allocations: 15.98 kB / 0.82 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7148, allocations: 0 / 0.82 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7149, allocations: 7.969 kB / 0.8201 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.7209, allocations: 2.723 MB / 0.8227 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7209, allocations: 0 / 0.8227 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.7222, allocations: 247.8 kB / 0.8229 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.7227, allocations: 88.7 kB / 0.823 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.7228, allocations: 35.97 kB / 0.8231 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.7247, allocations: 1.536 MB / 0.8246 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7247, allocations: 0 / 0.8246 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/0.7308, allocations: 2.747 MB / 0.8272 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.7313, allocations: 295.6 kB / 0.8275 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.7315, allocations: 20 kB / 0.8275 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.7326, allocations: 117 kB / 0.8277 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.7328, allocations: 76.83 kB / 0.8277 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.7329, allocations: 47.91 kB / 0.8278 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005914/0.7335, allocations: 439 kB / 0.8282 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7336, allocations: 4 kB / 0.8282 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001128/0.7347, allocations: 371 kB / 0.8286 GB, free: 1.109 MB / 0.5573 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 (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.001436/0.7361, allocations: 0.622 MB / 0.8292 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.74, allocations: 1.308 MB / 0.8304 GB, free: 15.34 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.74, allocations: 0 / 0.8304 GB, free: 15.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.742, allocations: 0.7735 MB / 0.8312 GB, free: 14.56 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.7434, allocations: 262.5 kB / 0.8314 GB, free: 14.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/0.7494, allocations: 3.123 MB / 0.8345 GB, free: 11.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/0.7502, allocations: 1.087 MB / 0.8356 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001651/0.7518, allocations: 327.1 kB / 0.8359 GB, free: 9.711 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.7523, allocations: 123.4 kB / 0.836 GB, free: 9.59 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/0.7524, allocations: 0 / 0.836 GB, free: 9.59 MB / 0.573 GB Notification: Performance of Templates: time 0.02968/0.782, allocations: 16.96 MB / 0.8526 GB, free: 8.75 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)