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.001033/0.001033, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001071/0.001071, allocations: 165 kB / 23.01 MB, free: 1.551 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 0.9817/0.9817, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01792/0.01792, allocations: 4.227 MB / 264.2 MB, free: 8.934 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 2.084e-06/2.084e-06, allocations: 0 / 335 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.351e-05, allocations: 6.312 kB / 335 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002965/0.002999, allocations: 1.698 MB / 336.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004329, allocations: 0.7048 MB / 337.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.004432, allocations: 0 / 337.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.004563, allocations: 15.86 kB / 337.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.004889, allocations: 71.55 kB / 337.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.005193, allocations: 115.5 kB / 337.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.005439, allocations: 191.4 kB / 337.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.005543, allocations: 5.641 kB / 337.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.005796, allocations: 111.8 kB / 337.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.005973, allocations: 99.81 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.006005, allocations: 12 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.006121, allocations: 63.89 kB / 338.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.006154, allocations: 39.83 kB / 338.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.006219, allocations: 51.88 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.006478, allocations: 171.4 kB / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006481, allocations: 0 / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006482, allocations: 0 / 338.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.006488, allocations: 0 / 338.3 MB, free: 10.96 MB / 266.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.000715/0.007203, allocations: 497.6 kB / 338.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.007251, allocations: 12.03 kB / 338.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.007334, allocations: 24.84 kB / 338.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.007548, allocations: 160 kB / 339 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.007575, allocations: 8.375 kB / 339 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.007616, allocations: 8.375 kB / 339 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.01019, allocations: 206.3 kB / 339.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.0102, allocations: 192 / 339.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.01021, allocations: 11.94 kB / 339.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01022, allocations: 7.938 kB / 339.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.01038, allocations: 124 kB / 339.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.01092, allocations: 0.6418 MB / 340 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.01133, allocations: 185 kB / 340.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.01142, allocations: 85.36 kB / 340.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/0.0115, allocations: 19.92 kB / 340.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.01168, allocations: 222 kB / 340.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.01168, allocations: 0 / 340.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004315/0.01212, allocations: 338.6 kB / 340.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.01215, allocations: 140.4 kB / 341 MB, free: 8.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.01222, allocations: 193.8 kB / 341.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.01223, allocations: 29.7 kB / 341.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.01227, allocations: 143.3 kB / 341.3 MB, free: 7.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.01231, allocations: 79.38 kB / 341.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.01237, allocations: 67.33 kB / 341.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.01242, allocations: 0.4962 MB / 342 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.0125, allocations: 73.64 kB / 342 MB, free: 6.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.01259, allocations: 136.1 kB / 342.2 MB, free: 6.777 MB / 266.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.001837/0.01443, allocations: 408.1 kB / 342.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.01443, allocations: 0 / 342.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004969/0.01493, allocations: 280.7 kB / 342.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.01496, allocations: 33.7 kB / 342.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01497, allocations: 7.938 kB / 342.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.015, allocations: 4 kB / 342.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.01536, allocations: 71.86 kB / 342.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.01537, allocations: 12.06 kB / 343 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.01554, allocations: 19.89 kB / 343 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.01557, allocations: 11.98 kB / 343 MB, free: 5.875 MB / 266.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.000169/0.01574, allocations: 222.6 kB / 343.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.0158, allocations: 23.91 kB / 343.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007283/0.01652, allocations: 442.8 kB / 343.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.01653, allocations: 4 kB / 343.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.01654, allocations: 3.938 kB / 343.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.01655, allocations: 0 / 343.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01675, allocations: 204.4 kB / 343.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01675, allocations: 4 kB / 343.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.01699, allocations: 59.91 kB / 343.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.01699, allocations: 4 kB / 343.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.01702, allocations: 11.98 kB / 343.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01703, allocations: 0 / 343.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01703, allocations: 0 / 343.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.01764, allocations: 0.4915 MB / 344.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.01767, allocations: 23.78 kB / 344.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.01771, allocations: 15.89 kB / 344.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01782, allocations: 16.02 kB / 344.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.01791, allocations: 32.23 kB / 344.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.01793, allocations: 15.92 kB / 344.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.01798, allocations: 149.8 kB / 344.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01798, allocations: 0 / 344.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.01831, allocations: 64 kB / 344.8 MB, free: 4.008 MB / 266.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.0001857/0.0185, allocations: 123.8 kB / 344.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.01891, allocations: 306.4 kB / 345.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01891, allocations: 4.062 kB / 345.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.0191, allocations: 224.5 kB / 345.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.0194, allocations: 49.8 kB / 345.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.02031, allocations: 423.1 kB / 345.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.02036, allocations: 84.64 kB / 345.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.02048, allocations: 41.86 kB / 346 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.02058, allocations: 44.47 kB / 346 MB, free: 2.625 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02058, allocations: 0 / 346 MB, free: 2.625 MB / 266.7 MB Notification: Performance of Templates: time 0.005201/0.02578, allocations: 3.514 MB / 349.5 MB, free: 15.14 MB / 282.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: 3.7721298043616116]