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.0007329/0.0007329, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009539/0.001687, allocations: 440 kB / 10.41 MB, free: 284 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.000706/0.000706, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009919/0.001698, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9266/0.9266, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08377/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.03417/0.03417, allocations: 4.315 MB / 248.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002742/0.03692, allocations: 1.706 MB / 250.2 MB, free: 8.852 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.493e-06/1.493e-06, allocations: 0 / 251.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.8e-05, allocations: 2.312 kB / 251.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002763/0.002781, allocations: 1.821 MB / 253.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003943, allocations: 0.7553 MB / 254 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.004018, allocations: 0 / 254 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.587e-05/0.004074, allocations: 15.8 kB / 254 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.004253, allocations: 67.55 kB / 254.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.004528, allocations: 143.5 kB / 254.2 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.004791, allocations: 231.3 kB / 254.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.004867, allocations: 6.469 kB / 254.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.005135, allocations: 143.7 kB / 254.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.005328, allocations: 115.7 kB / 254.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.005363, allocations: 12 kB / 254.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.005501, allocations: 79.89 kB / 254.8 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.005538, allocations: 31.86 kB / 254.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.005595, allocations: 39.94 kB / 254.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.005825, allocations: 155.4 kB / 255 MB, free: 3.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.005833, allocations: 0 / 255 MB, free: 3.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005834, allocations: 0 / 255 MB, free: 3.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.005844, allocations: 0 / 255 MB, free: 3.961 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.0006794/0.006523, allocations: 445.4 kB / 255.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.006557, allocations: 15.98 kB / 255.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.006615, allocations: 16.92 kB / 255.5 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006811, allocations: 153.6 kB / 255.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.00683, allocations: 8.375 kB / 255.7 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.006865, allocations: 16.38 kB / 255.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.007667, allocations: 207.4 kB / 255.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007677, allocations: 192 / 255.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.007699, allocations: 4.375 kB / 255.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.007708, allocations: 11.94 kB / 255.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.007892, allocations: 114 kB / 256 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.00858, allocations: 0.5235 MB / 256.5 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.009041, allocations: 180 kB / 256.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.009142, allocations: 78.53 kB / 256.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.009201, allocations: 11.98 kB / 256.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.00943, allocations: 224.9 kB / 257 MB, free: 1.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.904e-06/0.009432, allocations: 0 / 257 MB, free: 1.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004104/0.009843, allocations: 284.2 kB / 257.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.009926, allocations: 162.2 kB / 257.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01004, allocations: 164.8 kB / 257.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.01007, allocations: 37.69 kB / 257.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.01012, allocations: 100.5 kB / 257.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.01019, allocations: 91.23 kB / 257.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.01031, allocations: 69.64 kB / 257.9 MB, free: 0.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.01041, allocations: 330.8 kB / 258.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.01049, allocations: 65.61 kB / 258.3 MB, free: 440 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.01062, allocations: 121.1 kB / 258.4 MB, free: 288 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.01089, allocations: 230 kB / 258.6 MB, free: 20 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01089, allocations: 0 / 258.6 MB, free: 20 kB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003326/0.01122, allocations: 233.8 kB / 258.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.01126, allocations: 36.83 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01127, allocations: 3.984 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.01129, allocations: 16.08 kB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.0116, allocations: 87.84 kB / 259 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01161, allocations: 4 kB / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.01177, allocations: 27.83 kB / 259 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.0118, allocations: 15.98 kB / 259 MB, free: 15.58 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.0001297/0.01193, allocations: 167.4 kB / 259.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.01197, allocations: 19.98 kB / 259.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.01258, allocations: 398 kB / 259.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.01259, allocations: 11.88 kB / 259.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01259, allocations: 0 / 259.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.0126, allocations: 0 / 259.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.01282, allocations: 170.1 kB / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01282, allocations: 0 / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.01312, allocations: 83.88 kB / 259.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.01315, allocations: 23.8 kB / 259.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01316, allocations: 4 kB / 259.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.01319, allocations: 15.98 kB / 259.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.01319, allocations: 7.938 kB / 259.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01319, allocations: 0 / 259.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.01372, allocations: 424.8 kB / 260.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.01376, allocations: 8 kB / 260.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01389, allocations: 15.92 kB / 260.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.01397, allocations: 39.88 kB / 260.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.014, allocations: 11.98 kB / 260.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.01404, allocations: 37.05 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01404, allocations: 0 / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.01434, allocations: 79.94 kB / 260.5 MB, free: 14.01 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.0001555/0.01449, allocations: 112.4 kB / 260.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.01486, allocations: 295.5 kB / 260.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.01487, allocations: 8 kB / 260.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.01512, allocations: 243.7 kB / 261.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.0154, allocations: 187.3 kB / 261.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.01843, allocations: 476.2 kB / 261.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.01848, allocations: 89.31 kB / 261.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.01866, allocations: 46.25 kB / 262 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.01888, allocations: 115.3 kB / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01888, allocations: 0 / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Templates: time 0.005286/0.02417, allocations: 4.266 MB / 266.3 MB, free: 8.133 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.408224616199732]