Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.0007884/0.0007884, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001907, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007184/0.0007184, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001663, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9826/0.9826, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09761/1.08, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.02372/0.02372, allocations: 4.328 MB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002925/0.02664, allocations: 1.687 MB / 249.9 MB, free: 8.965 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 251.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.102e-05, allocations: 6.109 kB / 251.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003853/0.003874, allocations: 4.428 MB / 255.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.006114, allocations: 1.734 MB / 257.4 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.006357, allocations: 11.94 kB / 257.4 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.007009, allocations: 377 kB / 257.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.007353, allocations: 266.1 kB / 258 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.007691, allocations: 227.5 kB / 258.3 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.1462/0.1539, allocations: 28.44 MB / 286.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005547/0.1595, allocations: 3.676 MB / 290.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02786/0.1873, allocations: 17.27 MB / 307.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01808/0.2054, allocations: 11.61 MB / 319.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006975/0.2124, allocations: 2.417 MB / 321.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/0.2213, allocations: 2.457 MB / 324.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006921/0.2282, allocations: 3.347 MB / 327.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01899/0.2472, allocations: 5.101 MB / 332.6 MB, free: 32 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02631/0.2735, allocations: 15.66 MB / 348.2 MB, free: 448 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852e-05/0.2735, allocations: 0 / 348.2 MB, free: 448 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2735, allocations: 4 kB / 348.2 MB, free: 444 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0009036/0.2744, allocations: 0 / 348.2 MB, free: 444 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.04471/0.3191, allocations: 19.56 MB / 367.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3192, allocations: 12.75 kB / 367.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/0.3241, allocations: 1.598 MB / 369.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02914/0.3532, allocations: 9.952 MB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005571/0.3538, allocations: 0.623 MB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003738/0.3575, allocations: 0.8165 MB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.3703, allocations: 7.317 MB / 388.1 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.3704, allocations: 25.69 kB / 388.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009655/0.3714, allocations: 344 kB / 388.5 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.3715, allocations: 212 kB / 388.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007019/0.3786, allocations: 3.019 MB / 391.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04761/0.4262, allocations: 29.38 MB / 421.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005879/0.432, allocations: 4.573 MB / 425.7 MB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.4339, allocations: 1.645 MB / 427.3 MB, free: 196 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.4341, allocations: 95.42 kB / 427.4 MB, free: 100 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.4341, allocations: 78.08 kB / 427.5 MB, free: 12 kB / 394.7 MB Notification: Performance of pre-optimization done (n=448): time 5.42e-06/0.4341, allocations: 0 / 427.5 MB, free: 12 kB / 394.7 MB Notification: Performance of matching and sorting (n=448): time 0.1594/0.5936, allocations: 3.413 MB / 430.9 MB, free: 117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.5936, allocations: 97.27 kB / 431 MB, free: 117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02942/0.623, allocations: 8.271 MB / 439.2 MB, free: 115.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001656/0.6247, allocations: 113 kB / 439.4 MB, free: 115.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003318/0.628, allocations: 4.308 MB / 443.7 MB, free: 114.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/0.63, allocations: 1.63 MB / 445.3 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003925/0.6339, allocations: 1.923 MB / 447.2 MB, free: 113.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.634, allocations: 301.1 kB / 447.5 MB, free: 112.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.6361, allocations: 1.34 MB / 448.9 MB, free: 112.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.6385, allocations: 2.529 MB / 451.4 MB, free: 111.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.6431, allocations: 4.042 MB / 455.4 MB, free: 110.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.6432, allocations: 6.688 kB / 455.4 MB, free: 110.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01563/0.6588, allocations: 8.08 MB / 463.5 MB, free: 109.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.6588, allocations: 19.28 kB / 463.5 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.6589, allocations: 22.97 kB / 463.6 MB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01685/0.6757, allocations: 12.72 MB / 476.3 MB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/0.68, allocations: 1.56 MB / 477.8 MB, free: 95.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.044/0.724, allocations: 68.81 MB / 0.5338 GB, free: 22.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/0.7354, allocations: 1.045 MB / 0.5349 GB, free: 21.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/0.738, allocations: 291.7 kB / 0.5351 GB, free: 21.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (837): * Single equations (assignments): 788 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.006749/0.7448, allocations: 491 kB / 0.5356 GB, free: 20.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/0.7476, allocations: 0.753 MB / 0.5363 GB, free: 19.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007587/0.7552, allocations: 3.712 MB / 0.54 GB, free: 16.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.7552, allocations: 44.55 kB / 0.54 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7552, allocations: 3.984 kB / 0.54 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.7552, allocations: 19.92 kB / 0.54 GB, free: 16.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/0.7768, allocations: 8.677 MB / 0.5485 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7768, allocations: 0 / 0.5485 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.7776, allocations: 441.5 kB / 0.5489 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007105/0.7848, allocations: 7.906 MB / 0.5566 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/0.7853, allocations: 111.9 kB / 0.5567 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.798, allocations: 4.145 MB / 0.5608 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.798, allocations: 3.938 kB / 0.5608 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.8053, allocations: 3.097 MB / 0.5638 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004421/0.8097, allocations: 1.37 MB / 0.5652 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002077/0.8118, allocations: 72 kB / 0.5652 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003893/0.8157, allocations: 267.7 kB / 0.5655 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.816, allocations: 235 kB / 0.5657 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005133/0.8165, allocations: 107.9 kB / 0.5658 GB, free: 5.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008386/0.8249, allocations: 4.306 MB / 0.57 GB, free: 1.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8249, allocations: 0 / 0.57 GB, free: 1.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1557/0.9806, allocations: 3.121 MB / 0.5731 GB, free: 108.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00156/0.9822, allocations: 170.5 kB / 0.5732 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02661/1.009, allocations: 12.51 MB / 0.5854 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003079/1.009, allocations: 147.3 kB / 0.5856 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01273/1.022, allocations: 2.941 MB / 0.5885 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/1.033, allocations: 3.749 MB / 0.5921 GB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.06, allocations: 20.71 MB / 0.6123 GB, free: 94.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.063, allocations: 2.712 MB / 0.615 GB, free: 93.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004617/1.067, allocations: 1.474 MB / 0.6164 GB, free: 93.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003674/1.071, allocations: 2.059 MB / 0.6184 GB, free: 91.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/1.071, allocations: 2.406 kB / 0.6184 GB, free: 91.79 MB / 410.7 MB Notification: Performance of Templates: time 0.3406/1.412, allocations: 203.2 MB / 0.8169 GB, free: 63.62 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.32703270111233]