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.0007949/0.0007949, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007611/0.0007611, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.01626/0.01626, allocations: 4.215 MB / 264.2 MB, free: 9.168 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.633e-06/1.633e-06, allocations: 0 / 389 MB, free: 8.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.852e-05, allocations: 2.281 kB / 389 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.001848/0.001867, allocations: 1.636 MB / 390.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.002725, allocations: 0.697 MB / 391.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.002804, allocations: 3.938 kB / 391.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.002916, allocations: 11.86 kB / 391.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.003173, allocations: 59.69 kB / 391.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.003408, allocations: 119.5 kB / 391.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.003601, allocations: 187.4 kB / 391.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.003697, allocations: 9.625 kB / 391.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.003896, allocations: 115.8 kB / 391.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.004031, allocations: 103.7 kB / 391.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.004054, allocations: 12 kB / 391.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.004147, allocations: 63.95 kB / 392 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.004172, allocations: 27.91 kB / 392 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.004222, allocations: 55.88 kB / 392.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.004457, allocations: 207.4 kB / 392.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004459, allocations: 0 / 392.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00446, allocations: 0 / 392.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.004466, allocations: 11.94 kB / 392.3 MB, free: 5.027 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.0006244/0.005091, allocations: 379.5 kB / 392.7 MB, free: 4.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005127, allocations: 11.97 kB / 392.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.005183, allocations: 24.83 kB / 392.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.005396, allocations: 149.5 kB / 392.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.005415, allocations: 8.375 kB / 392.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.005445, allocations: 16.33 kB / 392.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.005716, allocations: 209 kB / 393.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005725, allocations: 192 / 393.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.005745, allocations: 15.94 kB / 393.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005754, allocations: 0 / 393.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.005982, allocations: 165.5 kB / 393.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.006767, allocations: 0.5006 MB / 393.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.007188, allocations: 215.4 kB / 394 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.00731, allocations: 106.5 kB / 394.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.007381, allocations: 7.938 kB / 394.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.007623, allocations: 240.3 kB / 394.3 MB, free: 2.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.007624, allocations: 0 / 394.3 MB, free: 2.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005333/0.008158, allocations: 403.5 kB / 394.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.008211, allocations: 140.5 kB / 394.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.008284, allocations: 134 kB / 395 MB, free: 2.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.008301, allocations: 37.64 kB / 395 MB, free: 2.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.00835, allocations: 96.59 kB / 395.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.008399, allocations: 87.3 kB / 395.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.008461, allocations: 57.67 kB / 395.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.008535, allocations: 322.8 kB / 395.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.008668, allocations: 105.6 kB / 395.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.008813, allocations: 141.9 kB / 395.8 MB, free: 1.223 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.002324/0.01114, allocations: 0.7867 MB / 396.6 MB, free: 396 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01114, allocations: 0 / 396.6 MB, free: 396 kB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003642/0.0115, allocations: 324.7 kB / 396.9 MB, free: 52 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.01153, allocations: 42.91 kB / 396.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01154, allocations: 0 / 396.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01155, allocations: 4 kB / 396.9 MB, free: 0 / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.01175, allocations: 63.86 kB / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01176, allocations: 7.938 kB / 397 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.01184, allocations: 19.84 kB / 397 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01186, allocations: 19.98 kB / 397 MB, free: 15.89 MB / 330.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.0001162/0.01198, allocations: 175.9 kB / 397.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.012, allocations: 15.95 kB / 397.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.01256, allocations: 490.6 kB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01257, allocations: 4 kB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.01257, allocations: 3.938 kB / 397.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01257, allocations: 0 / 397.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.01274, allocations: 209 kB / 397.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01274, allocations: 0 / 397.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.01288, allocations: 55.91 kB / 398 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01289, allocations: 4 kB / 398 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01291, allocations: 15.98 kB / 398 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01291, allocations: 0 / 398 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01291, allocations: 8 kB / 398 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.01349, allocations: 0.5508 MB / 398.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.01351, allocations: 31.81 kB / 398.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.01354, allocations: 8 kB / 398.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.01361, allocations: 8 kB / 398.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.01368, allocations: 39.86 kB / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01369, allocations: 15.94 kB / 398.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.01374, allocations: 107.2 kB / 398.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01374, allocations: 64 / 398.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01395, allocations: 71.94 kB / 398.8 MB, free: 14.01 MB / 330.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.0001432/0.01409, allocations: 128.6 kB / 399 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.01448, allocations: 326.8 kB / 399.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01448, allocations: 0 / 399.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.01466, allocations: 224.8 kB / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01485, allocations: 34.11 kB / 399.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.01543, allocations: 465.9 kB / 400 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.0155, allocations: 129 kB / 400.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.01558, allocations: 44.47 kB / 400.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01558, allocations: 0 / 400.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of Templates: time 0.003522/0.0191, allocations: 3.049 MB / 403.2 MB, free: 9.539 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.678797333501279] Failed to read output from testmodel.py, exit status != 0: 0.02421530243009329 0.18929753400000002 0.182977663 Calling exit ...