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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.001891, allocations: 113.6 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02794/0.02794, allocations: 5.39 MB / 296.6 MB, free: 9.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 55.91 kB / 410 MB, free: 26.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09335, allocations: 50.64 MB / 460.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.00271/0.09611, allocations: 1.641 MB / 462.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.09738, allocations: 0.7012 MB / 462.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.09751, allocations: 3.938 kB / 462.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.09767, allocations: 7.875 kB / 462.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.09801, allocations: 59.67 kB / 463 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.09835, allocations: 127.7 kB / 463.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.09866, allocations: 195.4 kB / 463.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.09877, allocations: 13.45 kB / 463.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.09893, allocations: 87.67 kB / 463.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.09918, allocations: 111.7 kB / 463.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.09923, allocations: 8 kB / 463.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.09937, allocations: 75.95 kB / 463.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.09941, allocations: 27.91 kB / 463.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.09951, allocations: 83.61 kB / 463.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.09978, allocations: 171.4 kB / 463.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09979, allocations: 0 / 463.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.0998, allocations: 0 / 463.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.09982, allocations: 7.938 kB / 463.9 MB, free: 4.074 MB / 334.1 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.0008669/0.1007, allocations: 464.8 kB / 464.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1007, allocations: 8.031 kB / 464.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.1008, allocations: 16.75 kB / 464.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1011, allocations: 204.1 kB / 464.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1011, allocations: 12.38 kB / 464.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1011, allocations: 12.31 kB / 464.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.1015, allocations: 177.3 kB / 464.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1016, allocations: 0 / 464.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1016, allocations: 8 kB / 464.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1016, allocations: 4 kB / 464.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.102, allocations: 135.8 kB / 464.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.1027, allocations: 0.5906 MB / 465.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.1034, allocations: 202.7 kB / 465.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1037, allocations: 88.77 kB / 465.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1038, allocations: 81.11 kB / 465.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.1042, allocations: 218.5 kB / 466.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.1042, allocations: 0 / 466.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008217/0.105, allocations: 328.7 kB / 466.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.1051, allocations: 140.5 kB / 466.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1052, allocations: 126.1 kB / 466.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.1053, allocations: 33.7 kB / 466.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1053, allocations: 108.4 kB / 466.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.1054, allocations: 74.94 kB / 466.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.1055, allocations: 57.67 kB / 466.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1057, allocations: 326.8 kB / 467.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1059, allocations: 75.94 kB / 467.3 MB, free: 352 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.1061, allocations: 128.7 kB / 467.4 MB, free: 208 kB / 334.1 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.00509/0.1112, allocations: 0.8363 MB / 468.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1112, allocations: 3.938 kB / 468.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000621/0.1119, allocations: 291 kB / 468.6 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.1119, allocations: 37.58 kB / 468.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1119, allocations: 4 kB / 468.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1119, allocations: 0 / 468.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.1123, allocations: 68.05 kB / 468.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1124, allocations: 3.938 kB / 468.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1126, allocations: 23.83 kB / 468.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1126, allocations: 15.98 kB / 468.7 MB, free: 14.85 MB / 350.1 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.0001743/0.1128, allocations: 164.9 kB / 468.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.1128, allocations: 19.75 kB / 468.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.1137, allocations: 449.1 kB / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1138, allocations: 0 / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1138, allocations: 4 kB / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1138, allocations: 100.8 kB / 469.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.1139, allocations: 8 kB / 469.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1141, allocations: 15.94 kB / 469.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.1142, allocations: 28.23 kB / 469.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008048/0.115, allocations: 499.4 kB / 470 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009319/0.1159, allocations: 0.6452 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002649/0.1162, allocations: 168.2 kB / 470.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.1163, allocations: 113.8 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Backend: time 5.92e-07/0.1163, allocations: 0 / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.117, allocations: 288.5 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009187/0.118, allocations: 0.8903 MB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Templates: time 0.007377/0.1254, allocations: 3.611 MB / 475.7 MB, free: 7.742 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile (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)