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.000818/0.000818, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001926, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007471/0.0007471, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.00177, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9581/0.9581, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08338/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01812/0.01812, allocations: 4.329 MB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004672/0.02279, allocations: 1.691 MB / 249.9 MB, free: 8.965 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.844e-06/1.844e-06, allocations: 0 / 251.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.378e-05, allocations: 5.828 kB / 251.2 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.003441/0.003475, allocations: 1.806 MB / 253 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004867, allocations: 0.7437 MB / 253.7 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.004966, allocations: 11.88 kB / 253.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.426e-05/0.00504, allocations: 11.86 kB / 253.7 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.005289, allocations: 67.55 kB / 253.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.00561, allocations: 147.4 kB / 254 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.005919, allocations: 223.3 kB / 254.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.006019, allocations: 10.47 kB / 254.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.00633, allocations: 147.7 kB / 254.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.00654, allocations: 111.7 kB / 254.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.006574, allocations: 16 kB / 254.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.006733, allocations: 75.89 kB / 254.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.006776, allocations: 23.94 kB / 254.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.00685, allocations: 47.88 kB / 254.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.007127, allocations: 155.5 kB / 254.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/0.007145, allocations: 0 / 254.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007146, allocations: 0 / 254.7 MB, free: 4.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.007159, allocations: 3.938 kB / 254.7 MB, free: 4.117 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008626/0.008022, allocations: 441.5 kB / 255.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.00806, allocations: 11.98 kB / 255.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.008139, allocations: 20.92 kB / 255.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.008381, allocations: 153.6 kB / 255.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.008412, allocations: 12.38 kB / 255.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.008449, allocations: 8.375 kB / 255.4 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.008815, allocations: 211.5 kB / 255.6 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.008826, allocations: 4.188 kB / 255.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.008847, allocations: 8.375 kB / 255.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.008856, allocations: 7.938 kB / 255.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.009071, allocations: 118 kB / 255.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.009909, allocations: 0.5196 MB / 256.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.01043, allocations: 187.6 kB / 256.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.01055, allocations: 78.53 kB / 256.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.01063, allocations: 12 kB / 256.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.01089, allocations: 217 kB / 256.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 2.335e-06/0.01089, allocations: 0 / 256.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004575/0.01135, allocations: 292.1 kB / 257 MB, free: 1.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.01142, allocations: 140.5 kB / 257.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01154, allocations: 152.9 kB / 257.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01156, allocations: 33.7 kB / 257.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.01162, allocations: 112.5 kB / 257.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.01169, allocations: 87.25 kB / 257.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.01179, allocations: 65.62 kB / 257.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.01189, allocations: 326.8 kB / 257.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01199, allocations: 61.67 kB / 258 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.01212, allocations: 137 kB / 258.1 MB, free: 480 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01238, allocations: 218.1 kB / 258.3 MB, free: 224 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01239, allocations: 0 / 258.3 MB, free: 224 kB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000351/0.01274, allocations: 233 kB / 258.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.01278, allocations: 37.69 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01279, allocations: 4.219 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.0128, allocations: 7.938 kB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.01323, allocations: 91.78 kB / 258.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01324, allocations: 7.938 kB / 258.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.01343, allocations: 27.83 kB / 258.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.01345, allocations: 15.98 kB / 258.7 MB, free: 15.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (36): * Single equations (assignments): 35 * 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.0001308/0.01358, allocations: 156.9 kB / 258.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01362, allocations: 23.98 kB / 258.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.01408, allocations: 390.1 kB / 259.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.01409, allocations: 7.938 kB / 259.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01409, allocations: 0 / 259.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.0141, allocations: 0 / 259.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01427, allocations: 170.1 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01427, allocations: 0 / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01447, allocations: 83.88 kB / 259.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.0145, allocations: 23.8 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.0145, allocations: 0 / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.01452, allocations: 23.98 kB / 259.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01453, allocations: 7.875 kB / 259.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01453, allocations: 4 kB / 259.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.01489, allocations: 420.8 kB / 260 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.01492, allocations: 12 kB / 260 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.01501, allocations: 23.92 kB / 260 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.01507, allocations: 35.86 kB / 260.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.01509, allocations: 19.97 kB / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.01513, allocations: 32.83 kB / 260.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01513, allocations: 4.031 kB / 260.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.01532, allocations: 75.94 kB / 260.2 MB, free: 14.21 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 (42): * Single equations (assignments): 41 * 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.0001351/0.01545, allocations: 108.3 kB / 260.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.01571, allocations: 293.2 kB / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01572, allocations: 0 / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01586, allocations: 223.2 kB / 260.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01604, allocations: 72.34 kB / 260.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.01671, allocations: 494.5 kB / 261.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01676, allocations: 89.31 kB / 261.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.01687, allocations: 46.25 kB / 261.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.01703, allocations: 115.3 kB / 261.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01703, allocations: 0 / 261.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005692/0.02272, allocations: 4.354 MB / 266 MB, free: 8.391 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.393291831947863]