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.001596/0.001596, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001804/0.001804, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.1 MB " [Timeout remaining time 178] 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.02885/0.02885, allocations: 4.232 MB / 264 MB, free: 12.55 MB / 254.1 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: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.89 kB / 388.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1084, allocations: 54.58 MB / 443.3 MB, free: 8.652 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002954/0.1114, allocations: 1.633 MB / 445 MB, free: 7.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1128, allocations: 0.6855 MB / 445.6 MB, free: 6.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.1128, allocations: 0 / 445.6 MB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.113, allocations: 19.86 kB / 445.7 MB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1132, allocations: 67.61 kB / 445.7 MB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1135, allocations: 115.7 kB / 445.8 MB, free: 6.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1138, allocations: 179.5 kB / 446 MB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.808e-05/0.1139, allocations: 9.641 kB / 446 MB, free: 5.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1141, allocations: 91.8 kB / 446.1 MB, free: 5.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1143, allocations: 111.6 kB / 446.2 MB, free: 5.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1143, allocations: 12 kB / 446.2 MB, free: 5.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1144, allocations: 59.97 kB / 446.3 MB, free: 5.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.1145, allocations: 35.89 kB / 446.3 MB, free: 5.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.1146, allocations: 59.7 kB / 446.4 MB, free: 5.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1148, allocations: 179.4 kB / 446.6 MB, free: 5.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1149, allocations: 0 / 446.6 MB, free: 5.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1149, allocations: 0 / 446.6 MB, free: 5.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1149, allocations: 0 / 446.6 MB, free: 5.387 MB / 414.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.000874/0.1157, allocations: 407.3 kB / 447 MB, free: 4.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1158, allocations: 8.031 kB / 447 MB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.1158, allocations: 12.89 kB / 447 MB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1161, allocations: 154.3 kB / 447.1 MB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1161, allocations: 12.38 kB / 447.1 MB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1162, allocations: 12.38 kB / 447.2 MB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1166, allocations: 214.1 kB / 447.4 MB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1166, allocations: 4 kB / 447.4 MB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1166, allocations: 4 kB / 447.4 MB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1166, allocations: 0 / 447.4 MB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.117, allocations: 169.5 kB / 447.5 MB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.1177, allocations: 0.5006 MB / 448 MB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.1184, allocations: 212.4 kB / 448.3 MB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1186, allocations: 102.5 kB / 448.4 MB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/0.1187, allocations: 11.94 kB / 448.4 MB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.1191, allocations: 232.4 kB / 448.6 MB, free: 3.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.1191, allocations: 3.938 kB / 448.6 MB, free: 3.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009/0.12, allocations: 405.4 kB / 449 MB, free: 2.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1201, allocations: 132.5 kB / 449.1 MB, free: 2.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1202, allocations: 134 kB / 449.3 MB, free: 2.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1203, allocations: 33.64 kB / 449.3 MB, free: 2.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1203, allocations: 100.6 kB / 449.4 MB, free: 2.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.1204, allocations: 83.36 kB / 449.5 MB, free: 2.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.1205, allocations: 65.62 kB / 449.5 MB, free: 2.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1207, allocations: 322.8 kB / 449.8 MB, free: 1.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.1209, allocations: 101.7 kB / 449.9 MB, free: 1.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1212, allocations: 145.9 kB / 450.1 MB, free: 1.57 MB / 414.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.005041/0.1262, allocations: 0.7783 MB / 450.9 MB, free: 0.7422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1262, allocations: 0 / 450.9 MB, free: 0.7422 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006908/0.1269, allocations: 328.7 kB / 451.2 MB, free: 412 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.127, allocations: 37.7 kB / 451.2 MB, free: 368 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.127, allocations: 3.938 kB / 451.2 MB, free: 364 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.127, allocations: 8.125 kB / 451.2 MB, free: 356 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.1274, allocations: 63.86 kB / 451.3 MB, free: 292 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.1274, allocations: 4 kB / 451.3 MB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1276, allocations: 23.88 kB / 451.3 MB, free: 264 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1276, allocations: 15.92 kB / 451.3 MB, free: 248 kB / 414.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.0002084/0.1278, allocations: 171.4 kB / 451.5 MB, free: 60 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.1279, allocations: 19.91 kB / 451.5 MB, free: 40 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.1289, allocations: 490.7 kB / 452 MB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1289, allocations: 8 kB / 452 MB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1289, allocations: 3.984 kB / 452 MB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1289, allocations: 0 / 452 MB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1292, allocations: 209 kB / 452.2 MB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1292, allocations: 0 / 452.2 MB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.1295, allocations: 55.91 kB / 452.3 MB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1295, allocations: 7.938 kB / 452.3 MB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1295, allocations: 11.98 kB / 452.3 MB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1295, allocations: 3.938 kB / 452.3 MB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1295, allocations: 0 / 452.3 MB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1305, allocations: 0.5625 MB / 452.9 MB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1306, allocations: 19.88 kB / 452.9 MB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.1306, allocations: 15.92 kB / 452.9 MB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1308, allocations: 11.94 kB / 452.9 MB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.1309, allocations: 35.89 kB / 452.9 MB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1309, allocations: 11.98 kB / 453 MB, free: 14.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.291e-05/0.131, allocations: 110.5 kB / 453.1 MB, free: 14.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 453.1 MB, free: 14.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1314, allocations: 64 kB / 453.1 MB, free: 14.36 MB / 430.1 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.0002027/0.1316, allocations: 126.1 kB / 453.2 MB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.1323, allocations: 330.5 kB / 453.6 MB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.1323, allocations: 4 kB / 453.6 MB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.1327, allocations: 220.8 kB / 453.8 MB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.133, allocations: 31.98 kB / 453.8 MB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.134, allocations: 493.3 kB / 454.3 MB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1341, allocations: 125 kB / 454.4 MB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.1343, allocations: 33.94 kB / 454.5 MB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1344, allocations: 40.47 kB / 454.5 MB, free: 12.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1344, allocations: 0 / 454.5 MB, free: 12.88 MB / 430.1 MB Notification: Performance of Templates: time 0.008183/0.1426, allocations: 3.47 MB / 458 MB, free: 9.449 MB / 430.1 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=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675533225061372] Failed to read output from testmodel.py, exit status != 0: 0.15187244897242635 0.166670557 0.048609074 Calling exit ...