Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.00101/0.00101, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001131/0.001131, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01832/0.01832, allocations: 4.225 MB / 264.2 MB, free: 8.941 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.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.048e-05, allocations: 6.25 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004178/0.004208, allocations: 3.382 MB / 342.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.005917, allocations: 1.262 MB / 343.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.006102, allocations: 8 kB / 343.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.006571, allocations: 202.7 kB / 343.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.006803, allocations: 174.7 kB / 344.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.006948, allocations: 127.8 kB / 344.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.007235, allocations: 0.5757 MB / 344.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.00738, allocations: 84.62 kB / 344.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.007569, allocations: 315.3 kB / 345.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.007733, allocations: 195.5 kB / 345.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.007778, allocations: 52 kB / 345.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.007861, allocations: 75.91 kB / 345.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.007906, allocations: 111.6 kB / 345.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.519e-05/0.007991, allocations: 163.6 kB / 345.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.008272, allocations: 370.7 kB / 346.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.008274, allocations: 0 / 346.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008275, allocations: 0 / 346.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.00828, allocations: 0 / 346.1 MB, free: 3.145 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009006/0.009181, allocations: 0.8071 MB / 346.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.009216, allocations: 8.031 kB / 346.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.009295, allocations: 64.66 kB / 347 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.009786, allocations: 409.8 kB / 347.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.0098, allocations: 16.88 kB / 347.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.009827, allocations: 24.31 kB / 347.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.0101, allocations: 286.3 kB / 347.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01011, allocations: 4 kB / 347.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.01013, allocations: 4 kB / 347.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.01014, allocations: 11.98 kB / 347.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.0103, allocations: 118.8 kB / 347.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.01132, allocations: 1.241 MB / 349.1 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.01157, allocations: 127 kB / 349.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.01169, allocations: 63.64 kB / 349.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01171, allocations: 8 kB / 349.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.01173, allocations: 33.39 kB / 349.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.01173, allocations: 3.938 kB / 349.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008205/0.01255, allocations: 281.1 kB / 349.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01258, allocations: 55.41 kB / 349.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.01285, allocations: 394.7 kB / 350 MB, free: 15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.01287, allocations: 25.7 kB / 350.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.013, allocations: 278.8 kB / 350.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.01303, allocations: 43.64 kB / 350.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.0131, allocations: 59.34 kB / 350.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01323, allocations: 0.5156 MB / 351 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.01331, allocations: 51.91 kB / 351 MB, free: 14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.01341, allocations: 94.77 kB / 351.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01357, allocations: 133.9 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01357, allocations: 7.938 kB / 351.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005253/0.0141, allocations: 320.4 kB / 351.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01411, allocations: 4 kB / 351.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01412, allocations: 4 kB / 351.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.01453, allocations: 187.2 kB / 351.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01463, allocations: 43.91 kB / 351.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.01615, allocations: 2.779 MB / 354.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.0163, allocations: 31.78 kB / 354.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01632, allocations: 7.984 kB / 354.6 MB, free: 10.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.01642, allocations: 176.5 kB / 354.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.01647, allocations: 31.81 kB / 354.8 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.01651, allocations: 35.06 kB / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01651, allocations: 0 / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01652, allocations: 0 / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01652, allocations: 0 / 354.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.01709, allocations: 0.5512 MB / 355.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01709, allocations: 0 / 355.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.01713, allocations: 12 kB / 355.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.01728, allocations: 107.7 kB / 355.5 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01729, allocations: 11.94 kB / 355.5 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.01762, allocations: 0.8311 MB / 356.4 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01762, allocations: 4 kB / 356.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.01785, allocations: 314.9 kB / 356.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.01792, allocations: 47.72 kB / 356.7 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01794, allocations: 8 kB / 356.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01805, allocations: 11.98 kB / 356.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.01809, allocations: 11.98 kB / 356.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.0181, allocations: 0 / 356.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.01826, allocations: 267.1 kB / 357 MB, free: 7.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01826, allocations: 4.031 kB / 357 MB, free: 7.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.0185, allocations: 79.78 kB / 357.1 MB, free: 7.582 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.0186, allocations: 107.2 kB / 357.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.01905, allocations: 343.6 kB / 357.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01905, allocations: 192 / 357.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.01912, allocations: 55.59 kB / 357.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01944, allocations: 62 kB / 357.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.0203, allocations: 0.554 MB / 358.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.02036, allocations: 92.55 kB / 358.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.02045, allocations: 42.95 kB / 358.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.02049, allocations: 24.5 kB / 358.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02049, allocations: 0 / 358.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of Templates: time 0.006728/0.02722, allocations: 4.58 MB / 362.9 MB, free: 1.727 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0558546539396048]