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.0009133/0.0009133, allocations: 93.06 kB / 19.65 MB, free: 280 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.001187/0.001187, allocations: 173 kB / 23.03 MB, free: 1.547 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.9591/0.9591, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.01714/0.01714, allocations: 4.22 MB / 264.2 MB, free: 8.949 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.013e-06/2.013e-06, allocations: 0 / 335 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.792e-05, allocations: 2.312 kB / 335 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.001966/0.001994, allocations: 1.698 MB / 336.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.002956, allocations: 0.7087 MB / 337.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.003046, allocations: 0 / 337.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003174, allocations: 11.86 kB / 337.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.00345, allocations: 67.56 kB / 337.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.003678, allocations: 119.5 kB / 337.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.003881, allocations: 187.4 kB / 337.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003986, allocations: 13.62 kB / 337.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.004192, allocations: 107.8 kB / 337.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.004327, allocations: 103.8 kB / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.004351, allocations: 12 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.00444, allocations: 63.89 kB / 338.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.004465, allocations: 35.84 kB / 338.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.004513, allocations: 55.88 kB / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.004709, allocations: 167.4 kB / 338.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004711, allocations: 0 / 338.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004712, allocations: 0 / 338.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.004717, allocations: 0 / 338.3 MB, free: 10.98 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.0005903/0.005307, allocations: 497.6 kB / 338.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.005345, allocations: 8.031 kB / 338.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.005412, allocations: 28.84 kB / 338.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.005577, allocations: 160.4 kB / 339 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.005597, allocations: 12.38 kB / 339 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.005623, allocations: 8.375 kB / 339 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.005871, allocations: 202.6 kB / 339.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.00588, allocations: 4.188 kB / 339.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.005898, allocations: 7.938 kB / 339.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005906, allocations: 7.938 kB / 339.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.006038, allocations: 120 kB / 339.3 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.006542, allocations: 0.6418 MB / 340 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.00695, allocations: 185 kB / 340.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.007036, allocations: 89.34 kB / 340.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.007111, allocations: 11.94 kB / 340.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.007307, allocations: 229.9 kB / 340.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.007309, allocations: 0 / 340.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004184/0.007728, allocations: 346.6 kB / 340.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.007774, allocations: 140.4 kB / 341 MB, free: 8.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.007855, allocations: 189.8 kB / 341.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.00787, allocations: 33.7 kB / 341.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.007915, allocations: 139.3 kB / 341.3 MB, free: 7.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.007955, allocations: 75.38 kB / 341.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.008017, allocations: 67.33 kB / 341.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.008075, allocations: 0.4962 MB / 342 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.008162, allocations: 73.64 kB / 342 MB, free: 6.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.008256, allocations: 140.1 kB / 342.2 MB, free: 6.785 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.0005267/0.008783, allocations: 396.1 kB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.008787, allocations: 4 kB / 342.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002775/0.009064, allocations: 280.7 kB / 342.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.009091, allocations: 36.2 kB / 342.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009097, allocations: 7.938 kB / 342.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.009113, allocations: 7.984 kB / 342.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.009318, allocations: 67.88 kB / 342.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.009326, allocations: 11.92 kB / 343 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.009407, allocations: 15.89 kB / 343 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.009424, allocations: 11.98 kB / 343 MB, free: 5.895 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.0001073/0.009531, allocations: 222.8 kB / 343.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.009562, allocations: 23.91 kB / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.01006, allocations: 446.8 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01006, allocations: 4 kB / 343.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01007, allocations: 3.938 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01007, allocations: 3.984 kB / 343.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.01021, allocations: 208.4 kB / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01021, allocations: 0 / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.01036, allocations: 59.91 kB / 343.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01036, allocations: 0 / 343.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.01038, allocations: 15.98 kB / 343.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01039, allocations: 4 kB / 344 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01039, allocations: 0 / 344 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.0108, allocations: 499.3 kB / 344.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.01083, allocations: 27.77 kB / 344.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.01086, allocations: 15.89 kB / 344.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.01093, allocations: 8 kB / 344.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.01101, allocations: 32.22 kB / 344.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01102, allocations: 15.94 kB / 344.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.01106, allocations: 150.5 kB / 344.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 4 kB / 344.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.01126, allocations: 64 kB / 344.8 MB, free: 4.02 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.0001312/0.01139, allocations: 122.6 kB / 344.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.01172, allocations: 306.2 kB / 345.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01172, allocations: 0 / 345.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01186, allocations: 228.5 kB / 345.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01209, allocations: 36.23 kB / 345.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.01275, allocations: 431 kB / 345.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.01278, allocations: 88.62 kB / 345.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.01286, allocations: 33.88 kB / 346 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.01294, allocations: 48.45 kB / 346 MB, free: 2.641 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01294, allocations: 0 / 346 MB, free: 2.641 MB / 266.7 MB Notification: Performance of Templates: time 0.005311/0.01825, allocations: 3.727 MB / 349.7 MB, free: 14.96 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.656608152203262]