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.0006437/0.0006437, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.00179, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006868/0.0006868, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009187/0.001606, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1/1, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.109, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.02298/0.02298, allocations: 4.324 MB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003464/0.02644, allocations: 1.695 MB / 250 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.323e-06/1.323e-06, allocations: 0 / 251.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.38e-05, allocations: 5.828 kB / 251.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002068/0.002082, allocations: 1.806 MB / 253 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003176, allocations: 0.7553 MB / 253.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.003252, allocations: 4 kB / 253.8 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.343e-05/0.003305, allocations: 15.8 kB / 253.8 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.003468, allocations: 63.55 kB / 253.9 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.003734, allocations: 135.5 kB / 254 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.003971, allocations: 235.2 kB / 254.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.00405, allocations: 18.45 kB / 254.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.004266, allocations: 135.8 kB / 254.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.004412, allocations: 111.8 kB / 254.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.004437, allocations: 12 kB / 254.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.004553, allocations: 79.88 kB / 254.6 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.004579, allocations: 27.88 kB / 254.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.004632, allocations: 43.94 kB / 254.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.004836, allocations: 151.4 kB / 254.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.004849, allocations: 4 kB / 254.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004849, allocations: 0 / 254.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.004862, allocations: 3.938 kB / 254.8 MB, free: 4.102 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.0006043/0.005466, allocations: 433.5 kB / 255.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.005493, allocations: 12.03 kB / 255.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.005544, allocations: 24.91 kB / 255.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.005721, allocations: 157.6 kB / 255.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.005738, allocations: 8.375 kB / 255.4 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.005764, allocations: 16.38 kB / 255.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.005992, allocations: 207.5 kB / 255.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.005999, allocations: 4.125 kB / 255.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.006014, allocations: 8.375 kB / 255.7 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006021, allocations: 3.938 kB / 255.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.006144, allocations: 114 kB / 255.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.00691, allocations: 0.5313 MB / 256.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.007239, allocations: 179.7 kB / 256.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.007303, allocations: 74.53 kB / 256.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.007357, allocations: 11.98 kB / 256.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.007529, allocations: 228.9 kB / 256.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.00753, allocations: 0 / 256.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002748/0.007805, allocations: 288.2 kB / 257.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.007852, allocations: 136.5 kB / 257.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.007923, allocations: 157.7 kB / 257.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.00794, allocations: 29.7 kB / 257.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.007982, allocations: 112.5 kB / 257.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.00803, allocations: 91.23 kB / 257.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.008092, allocations: 57.66 kB / 257.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.008163, allocations: 334.8 kB / 258 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.008219, allocations: 61.67 kB / 258 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.0083, allocations: 129 kB / 258.2 MB, free: 472 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.008462, allocations: 214.1 kB / 258.4 MB, free: 220 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008465, allocations: 0 / 258.4 MB, free: 220 kB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002172/0.008682, allocations: 245 kB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.008713, allocations: 33.7 kB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008717, allocations: 0 / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.008726, allocations: 7.938 kB / 258.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.008934, allocations: 91.78 kB / 258.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.008939, allocations: 11.92 kB / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.009033, allocations: 20.06 kB / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.009049, allocations: 19.98 kB / 258.8 MB, free: 15.77 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 9.099e-05/0.00914, allocations: 160.9 kB / 258.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.009169, allocations: 23.98 kB / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.009588, allocations: 390 kB / 259.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.009593, allocations: 7.938 kB / 259.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009595, allocations: 0 / 259.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.0096, allocations: 7.984 kB / 259.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.009761, allocations: 178 kB / 259.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.009762, allocations: 0 / 259.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.009952, allocations: 79.89 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.009974, allocations: 27.78 kB / 259.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009977, allocations: 4 kB / 259.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.009996, allocations: 12 kB / 259.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.009998, allocations: 3.938 kB / 259.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009999, allocations: 0 / 259.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.01034, allocations: 432.8 kB / 260.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.01037, allocations: 16.03 kB / 260.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01046, allocations: 15.88 kB / 260.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.01062, allocations: 35.88 kB / 260.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.01064, allocations: 11.98 kB / 260.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.0107, allocations: 40.81 kB / 260.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 0 / 260.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01093, allocations: 72 kB / 260.3 MB, free: 14.2 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.0001444/0.01107, allocations: 104.3 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.01139, allocations: 296.6 kB / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/0.01141, allocations: 8 kB / 260.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01155, allocations: 219.2 kB / 260.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.01174, allocations: 71.91 kB / 261 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.01373, allocations: 468.4 kB / 261.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.01377, allocations: 89.31 kB / 261.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.01388, allocations: 42.27 kB / 261.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.01403, allocations: 115.3 kB / 261.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01403, allocations: 0 / 261.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Templates: time 0.006955/0.02099, allocations: 4.364 MB / 266 MB, free: 8.395 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.2902494641020894]