Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01811/0.01811, allocations: 4.22 MB / 264.5 MB, free: 8.801 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=525600,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=525600,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 335.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.33e-05, allocations: 6.25 kB / 335.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002214/0.002237, allocations: 1.703 MB / 337.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.003188, allocations: 0.701 MB / 337.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.00326, allocations: 3.938 kB / 337.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003364, allocations: 11.86 kB / 337.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.003607, allocations: 67.61 kB / 337.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.003818, allocations: 115.5 kB / 338 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.00399, allocations: 187.4 kB / 338.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.004067, allocations: 9.625 kB / 338.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.004237, allocations: 119.8 kB / 338.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.004398, allocations: 95.8 kB / 338.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.004422, allocations: 12 kB / 338.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.004515, allocations: 67.84 kB / 338.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.004548, allocations: 35.88 kB / 338.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.004592, allocations: 51.89 kB / 338.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004766, allocations: 163.5 kB / 338.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004768, allocations: 0 / 338.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004769, allocations: 0 / 338.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.004772, allocations: 4 kB / 338.7 MB, free: 11.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004972/0.005269, allocations: 493.7 kB / 339.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.005302, allocations: 12.03 kB / 339.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.005349, allocations: 20.84 kB / 339.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.005494, allocations: 164.3 kB / 339.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.005513, allocations: 8.375 kB / 339.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.005535, allocations: 12.38 kB / 339.4 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.00575, allocations: 207.7 kB / 339.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.005756, allocations: 8.125 kB / 339.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.005769, allocations: 3.938 kB / 339.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.005775, allocations: 8 kB / 339.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.005879, allocations: 101.5 kB / 339.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.006301, allocations: 0.619 MB / 340.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.006615, allocations: 176.9 kB / 340.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.006683, allocations: 80.36 kB / 340.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.00675, allocations: 15.98 kB / 340.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.006929, allocations: 206 kB / 340.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.006931, allocations: 0 / 340.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003643/0.007295, allocations: 324.7 kB / 341.2 MB, free: 9.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.007353, allocations: 144.5 kB / 341.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.007429, allocations: 185.9 kB / 341.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.007446, allocations: 33.7 kB / 341.5 MB, free: 8.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.007505, allocations: 139.3 kB / 341.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.007553, allocations: 83.34 kB / 341.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.007615, allocations: 63.31 kB / 341.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.007724, allocations: 0.5 MB / 342.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.007786, allocations: 61.66 kB / 342.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.007872, allocations: 132 kB / 342.5 MB, free: 7.684 MB / 314.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.008276, allocations: 370.9 kB / 342.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008277, allocations: 0 / 342.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002545/0.008532, allocations: 268.7 kB / 343.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.00856, allocations: 33.69 kB / 343.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008565, allocations: 4.125 kB / 343.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.008574, allocations: 4 kB / 343.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.008775, allocations: 71.92 kB / 343.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008779, allocations: 3.938 kB / 343.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.008865, allocations: 27.78 kB / 343.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.008881, allocations: 7.984 kB / 343.3 MB, free: 6.836 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 (irradiance.year,$PRE.irradiance.year,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,$whenCondition2,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.009016, allocations: 222.2 kB / 343.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.009049, allocations: 19.94 kB / 343.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.009518, allocations: 418.7 kB / 343.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.009522, allocations: 8 kB / 343.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.009524, allocations: 0 / 343.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.009529, allocations: 3.938 kB / 343.9 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.009683, allocations: 189 kB / 344.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.009686, allocations: 3.984 kB / 344.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.009826, allocations: 63.89 kB / 344.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.00983, allocations: 4 kB / 344.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.009845, allocations: 12 kB / 344.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.009846, allocations: 0 / 344.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009847, allocations: 0 / 344.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.01023, allocations: 467.3 kB / 344.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01025, allocations: 27.73 kB / 344.7 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.01028, allocations: 15.94 kB / 344.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.01035, allocations: 11.98 kB / 344.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.0104, allocations: 24.23 kB / 344.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.01042, allocations: 15.98 kB / 344.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.01046, allocations: 141.9 kB / 344.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 344.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.01066, allocations: 64 kB / 344.9 MB, free: 5.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 6 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition2,irradiance.dayOfYear,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.01077, allocations: 131.2 kB / 345.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01103, allocations: 282.2 kB / 345.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01103, allocations: 0 / 345.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.01117, allocations: 208.5 kB / 345.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01135, allocations: 41.84 kB / 345.6 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.01193, allocations: 433.2 kB / 346 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.01197, allocations: 76.84 kB / 346.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.01206, allocations: 37.92 kB / 346.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.01221, allocations: 134.2 kB / 346.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01221, allocations: 0 / 346.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of Templates: time 0.004813/0.01702, allocations: 3.815 MB / 350.1 MB, free: 15.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.149905869271606]