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.001144/0.001144, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001692/0.001692, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.984/0.984, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.01874/0.01874, allocations: 4.236 MB / 264.5 MB, free: 8.816 MB / 250.7 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 1.272e-06/1.272e-06, allocations: 0 / 282.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.563e-05, allocations: 9.062 kB / 282.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.001821/0.001837, allocations: 1.736 MB / 284 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.002807, allocations: 0.7126 MB / 284.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.002874, allocations: 3.938 kB / 284.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.002968, allocations: 11.81 kB / 284.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.003158, allocations: 59.69 kB / 284.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.003364, allocations: 123.5 kB / 284.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.00354, allocations: 187.3 kB / 285 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.003608, allocations: 10.28 kB / 285.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.003774, allocations: 119.8 kB / 285.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.0039, allocations: 99.73 kB / 285.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003923, allocations: 12 kB / 285.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.004021, allocations: 67.97 kB / 285.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.004046, allocations: 31.89 kB / 285.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.004088, allocations: 51.88 kB / 285.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.00427, allocations: 163.5 kB / 285.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004272, allocations: 0 / 285.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004273, allocations: 0 / 285.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004277, allocations: 0 / 285.6 MB, free: 3.688 MB / 266.7 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.0004721/0.004749, allocations: 377.9 kB / 286 MB, free: 3.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.004776, allocations: 12.03 kB / 286 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.004818, allocations: 16.92 kB / 286 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.00497, allocations: 145.6 kB / 286.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.004986, allocations: 8.375 kB / 286.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.005007, allocations: 12.38 kB / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005203, allocations: 188 kB / 286.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.005219, allocations: 4.188 kB / 286.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.005234, allocations: 7.938 kB / 286.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.00524, allocations: 4 kB / 286.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.005343, allocations: 94.36 kB / 286.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.005721, allocations: 432.3 kB / 286.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.005998, allocations: 155.4 kB / 287 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.006057, allocations: 70.53 kB / 287.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.006104, allocations: 4 kB / 287.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.006264, allocations: 206.8 kB / 287.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.006265, allocations: 4 kB / 287.3 MB, free: 1.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002451/0.00651, allocations: 254.7 kB / 287.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.006556, allocations: 136.5 kB / 287.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.006617, allocations: 138.6 kB / 287.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.006633, allocations: 29.7 kB / 287.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.006669, allocations: 92.58 kB / 287.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.006753, allocations: 83.34 kB / 288 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.006809, allocations: 53.66 kB / 288.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.006878, allocations: 330.7 kB / 288.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.006927, allocations: 65.66 kB / 288.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.006994, allocations: 101.9 kB / 288.5 MB, free: 460 kB / 266.7 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.0003786/0.007373, allocations: 349.8 kB / 288.9 MB, free: 68 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007375, allocations: 0 / 288.9 MB, free: 68 kB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.1055/0.1129, allocations: 208.3 kB / 289.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1129, allocations: 34.08 kB / 289.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.1129, allocations: 3.156 kB / 289.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.113, allocations: 5.047 kB / 289.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.1133, allocations: 81.56 kB / 289.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1133, allocations: 3.156 kB / 289.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.1134, allocations: 19.27 kB / 289.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1134, allocations: 13.41 kB / 289.3 MB, free: 21.95 MB / 266.7 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.0001218/0.1135, allocations: 171.4 kB / 289.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1135, allocations: 21.19 kB / 289.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.114, allocations: 339.9 kB / 289.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.114, allocations: 4.062 kB / 289.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.114, allocations: 2.859 kB / 289.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.114, allocations: 0.8438 kB / 289.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1141, allocations: 153.1 kB / 289.9 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1141, allocations: 1.625 kB / 289.9 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1143, allocations: 61.17 kB / 290 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1143, allocations: 2.219 kB / 290 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.1143, allocations: 10.41 kB / 290 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1143, allocations: 3.094 kB / 290 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1143, allocations: 0 / 290 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1147, allocations: 389.5 kB / 290.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.1147, allocations: 25.33 kB / 290.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1147, allocations: 10.48 kB / 290.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.1148, allocations: 10.66 kB / 290.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1149, allocations: 29.47 kB / 290.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1149, allocations: 10.3 kB / 290.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.1149, allocations: 29.12 kB / 290.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1149, allocations: 0 / 290.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.1151, allocations: 68.11 kB / 290.6 MB, free: 21.45 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 (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.0001121/0.1152, allocations: 114.6 kB / 290.7 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1155, allocations: 272.5 kB / 290.9 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1155, allocations: 1.375 kB / 290.9 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1156, allocations: 193.8 kB / 291.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1158, allocations: 46.62 kB / 291.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.1164, allocations: 431 kB / 291.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.1165, allocations: 80.88 kB / 291.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1166, allocations: 36.38 kB / 291.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.1167, allocations: 108 kB / 291.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1167, allocations: 2.906 kB / 291.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of Templates: time 0.005945/0.1227, allocations: 3.812 MB / 295.6 MB, free: 20.49 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7970728860236704]