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.001344/0.001344, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001682/0.001682, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.396/1.396, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.02828/0.02828, allocations: 4.223 MB / 263.4 MB, free: 12.57 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: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 388.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.335e-05/4.63e-05, allocations: 6.219 kB / 388.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002922/0.002968, allocations: 1.622 MB / 389.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.004384, allocations: 0.6815 MB / 390.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004487, allocations: 7.938 kB / 390.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.004596, allocations: 23.8 kB / 390.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.00487, allocations: 55.67 kB / 390.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.005196, allocations: 119.5 kB / 390.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.005479, allocations: 187.4 kB / 390.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.005574, allocations: 9.641 kB / 390.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.005837, allocations: 111.8 kB / 391.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.006056, allocations: 107.7 kB / 391.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.006091, allocations: 8 kB / 391.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.006235, allocations: 67.95 kB / 391.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.006278, allocations: 31.89 kB / 391.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.006356, allocations: 51.89 kB / 391.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.006677, allocations: 207.4 kB / 391.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.006679, allocations: 0 / 391.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00668, allocations: 0 / 391.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006685, allocations: 0 / 391.5 MB, free: 10.78 MB / 318.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.0008681/0.007553, allocations: 387.5 kB / 391.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.007587, allocations: 8.031 kB / 391.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.007651, allocations: 16.84 kB / 391.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.007924, allocations: 172.8 kB / 392.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.007952, allocations: 8.375 kB / 392.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.007992, allocations: 12.33 kB / 392.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.008425, allocations: 207 kB / 392.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.008435, allocations: 12.06 kB / 392.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.00846, allocations: 11.94 kB / 392.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.008467, allocations: 4 kB / 392.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.008876, allocations: 161.6 kB / 392.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.009606, allocations: 0.4928 MB / 393 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.01032, allocations: 216.4 kB / 393.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.01055, allocations: 102.5 kB / 393.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.01063, allocations: 12 kB / 393.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.01103, allocations: 240.3 kB / 393.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.01103, allocations: 0 / 393.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009328/0.01196, allocations: 394.5 kB / 393.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.01205, allocations: 140.5 kB / 394.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01217, allocations: 137.1 kB / 394.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.01221, allocations: 33.7 kB / 394.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.01228, allocations: 100.6 kB / 394.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.01235, allocations: 75.38 kB / 394.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01246, allocations: 61.67 kB / 394.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.0126, allocations: 330.8 kB / 394.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.01284, allocations: 101.6 kB / 394.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.01311, allocations: 149.9 kB / 395 MB, free: 6.965 MB / 318.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.004972/0.01808, allocations: 0.7828 MB / 395.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01808, allocations: 0 / 395.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006792/0.01876, allocations: 324.7 kB / 396.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.0188, allocations: 35.88 kB / 396.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01881, allocations: 4 kB / 396.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01882, allocations: 128 / 396.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.01922, allocations: 71.86 kB / 396.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01923, allocations: 3.938 kB / 396.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.01944, allocations: 23.84 kB / 396.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.01947, allocations: 15.98 kB / 396.3 MB, free: 5.641 MB / 318.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.0001976/0.01967, allocations: 175.4 kB / 396.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.01971, allocations: 11.95 kB / 396.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.02071, allocations: 494.5 kB / 397 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.02071, allocations: 4 kB / 397 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.02072, allocations: 7.938 kB / 397 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.02073, allocations: 0 / 397 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.02098, allocations: 217 kB / 397.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.02098, allocations: 4 kB / 397.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.02128, allocations: 55.97 kB / 397.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.02129, allocations: 0 / 397.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.02132, allocations: 15.92 kB / 397.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02132, allocations: 0 / 397.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.02133, allocations: 7.938 kB / 397.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.02236, allocations: 0.5508 MB / 397.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.0224, allocations: 27.81 kB / 397.8 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.02245, allocations: 8 kB / 397.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.02263, allocations: 8 kB / 397.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.02273, allocations: 43.86 kB / 397.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.02275, allocations: 11.94 kB / 397.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.02284, allocations: 114.2 kB / 398 MB, free: 3.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02284, allocations: 0 / 398 MB, free: 3.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.02316, allocations: 67.94 kB / 398.1 MB, free: 3.754 MB / 318.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.0001936/0.02336, allocations: 123.2 kB / 398.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.02402, allocations: 330.5 kB / 398.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02402, allocations: 0 / 398.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.02436, allocations: 220.9 kB / 398.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.02466, allocations: 35.92 kB / 398.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.02551, allocations: 444.2 kB / 399.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.02562, allocations: 129 kB / 399.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.02576, allocations: 41.91 kB / 399.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.02587, allocations: 36.47 kB / 399.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.02587, allocations: 0 / 399.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Templates: time 0.007651/0.03352, allocations: 3.47 MB / 402.9 MB, free: 14.88 MB / 334.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.183022525161505] Failed to read output from testmodel.py, exit status != 0: 0.04252123832702637 0.056398163 0.046790051000000006 Calling exit ...