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.0009795/0.0009795, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001015/0.001015, allocations: 173 kB / 23.36 MB, free: 1.133 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.9544/0.9544, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.02073/0.02073, allocations: 4.228 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.122e-06/1.122e-06, allocations: 0 / 282.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.412e-05, allocations: 10.31 kB / 282.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.001837/0.001852, allocations: 1.681 MB / 283.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.002873, allocations: 0.7164 MB / 284.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.002944, allocations: 4 kB / 284.6 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.003042, allocations: 11.86 kB / 284.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.003272, allocations: 59.62 kB / 284.7 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.003482, allocations: 123.5 kB / 284.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.003661, allocations: 187.4 kB / 285 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.003732, allocations: 10.3 kB / 285 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.003904, allocations: 115.7 kB / 285.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.004034, allocations: 99.8 kB / 285.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.004063, allocations: 12 kB / 285.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.004151, allocations: 67.94 kB / 285.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.004179, allocations: 31.91 kB / 285.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.004229, allocations: 55.88 kB / 285.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.004414, allocations: 167.4 kB / 285.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004416, allocations: 0 / 285.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004416, allocations: 0 / 285.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.004419, allocations: 0 / 285.5 MB, free: 3.762 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.0004889/0.004908, allocations: 377.9 kB / 285.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.004938, allocations: 8.031 kB / 285.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.004983, allocations: 24.92 kB / 285.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005145, allocations: 141.6 kB / 286 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005161, allocations: 8.375 kB / 286.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.005186, allocations: 12.36 kB / 286.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.005387, allocations: 184.1 kB / 286.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005394, allocations: 192 / 286.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.00541, allocations: 11.94 kB / 286.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005416, allocations: 4 kB / 286.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.005517, allocations: 98.36 kB / 286.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.005899, allocations: 428.2 kB / 286.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.006194, allocations: 152.2 kB / 286.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.006259, allocations: 74.52 kB / 287 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.006305, allocations: 4 kB / 287 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.006455, allocations: 207.6 kB / 287.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.006456, allocations: 0 / 287.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002584/0.006715, allocations: 262.7 kB / 287.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.00677, allocations: 132.5 kB / 287.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.006837, allocations: 142.4 kB / 287.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.006855, allocations: 29.7 kB / 287.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.006895, allocations: 96.56 kB / 287.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.006943, allocations: 83.3 kB / 287.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.00702, allocations: 53.66 kB / 288 MB, free: 1.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.007105, allocations: 334.7 kB / 288.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.007159, allocations: 61.66 kB / 288.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.00723, allocations: 105.9 kB / 288.5 MB, free: 0.5156 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.0003793/0.00761, allocations: 349.8 kB / 288.8 MB, free: 136 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007612, allocations: 0 / 288.8 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.1064/0.114, allocations: 208.8 kB / 289 MB, free: 22.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.114, allocations: 32.8 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.114, allocations: 1.438 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.114, allocations: 2.438 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1144, allocations: 67.88 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1144, allocations: 2.203 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1145, allocations: 20.08 kB / 289.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1145, allocations: 13.3 kB / 289.2 MB, free: 22.49 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.0001446/0.1147, allocations: 173.6 kB / 289.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1147, allocations: 23.25 kB / 289.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.1153, allocations: 332.2 kB / 289.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1153, allocations: 2.938 kB / 289.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1153, allocations: 0.5625 kB / 289.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1153, allocations: 2.453 kB / 289.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1155, allocations: 147.3 kB / 289.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1155, allocations: 1.141 kB / 289.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.1157, allocations: 57.19 kB / 289.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1157, allocations: 7.484 kB / 289.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1157, allocations: 14.25 kB / 289.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1157, allocations: 2.438 kB / 289.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1157, allocations: 2.5 kB / 289.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.1162, allocations: 375.9 kB / 290.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.1163, allocations: 30.95 kB / 290.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1163, allocations: 11.03 kB / 290.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1164, allocations: 8.484 kB / 290.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.1165, allocations: 30.12 kB / 290.4 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1165, allocations: 10.06 kB / 290.4 MB, free: 22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.1166, allocations: 40.42 kB / 290.4 MB, free: 21.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1166, allocations: 0 / 290.4 MB, free: 21.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.1169, allocations: 65.25 kB / 290.5 MB, free: 21.99 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.0001394/0.117, allocations: 116.7 kB / 290.6 MB, free: 21.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1173, allocations: 268.5 kB / 290.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1174, allocations: 1.312 kB / 290.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1175, allocations: 198.6 kB / 291 MB, free: 21.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1177, allocations: 44.23 kB / 291.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.1184, allocations: 428.4 kB / 291.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.1185, allocations: 79.91 kB / 291.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.1186, allocations: 38.34 kB / 291.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.1188, allocations: 107.5 kB / 291.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1188, allocations: 0 / 291.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of Templates: time 0.007116/0.1259, allocations: 3.811 MB / 295.5 MB, free: 21.04 MB / 266.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.237026278860867]