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.001596/0.001596, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001739/0.001739, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.02164/0.02164, allocations: 4.226 MB / 265.3 MB, free: 8.766 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.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.302e-06/1.302e-06, allocations: 0 / 340.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.494e-05, allocations: 8.641 kB / 340.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003505/0.00353, allocations: 4.302 MB / 344.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.005744, allocations: 1.597 MB / 346.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.006069, allocations: 11.94 kB / 346.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.006707, allocations: 301.2 kB / 346.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.00714, allocations: 266.1 kB / 346.8 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.007487, allocations: 215.6 kB / 347 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01741/0.0249, allocations: 27.77 MB / 374.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005823/0.03072, allocations: 3.503 MB / 378.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02288/0.0536, allocations: 14.21 MB / 392.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01774/0.07134, allocations: 11.09 MB / 403.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006395/0.07773, allocations: 2.312 MB / 405.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008001/0.08573, allocations: 2.32 MB / 408.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006811/0.09255, allocations: 4.565 MB / 412.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2545/0.347, allocations: 6.265 MB / 419 MB, free: 48.05 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02362/0.3706, allocations: 16.37 MB / 435.4 MB, free: 46.21 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3707, allocations: 0 / 435.4 MB, free: 46.21 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3707, allocations: 3.938 kB / 435.4 MB, free: 46.21 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0008335/0.3715, allocations: 0 / 435.4 MB, free: 46.21 MB / 330.8 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.04327/0.4148, allocations: 18.19 MB / 453.6 MB, free: 36.7 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4148, allocations: 8.531 kB / 453.6 MB, free: 36.7 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007754/0.4226, allocations: 2.194 MB / 455.8 MB, free: 35.61 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02797/0.4505, allocations: 13.04 MB / 468.8 MB, free: 23.55 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.451, allocations: 0.6228 MB / 469.5 MB, free: 22.92 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.4541, allocations: 0.8164 MB / 470.3 MB, free: 22.11 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.4724, allocations: 8.08 MB / 478.4 MB, free: 13.39 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.4727, allocations: 26.14 kB / 478.4 MB, free: 13.38 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002362/0.475, allocations: 348 kB / 478.7 MB, free: 13.04 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.4751, allocations: 212 kB / 478.9 MB, free: 12.83 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.4876, allocations: 3.55 MB / 482.5 MB, free: 9.277 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06624/0.5539, allocations: 43.68 MB / 0.5138 GB, free: 12.79 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.5635, allocations: 5.145 MB / 0.5189 GB, free: 7.898 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.5666, allocations: 1.889 MB / 0.5207 GB, free: 6.008 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.5668, allocations: 91.48 kB / 0.5208 GB, free: 5.918 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.5668, allocations: 84.84 kB / 0.5209 GB, free: 5.824 MB / 378.8 MB Notification: Performance of pre-optimization done (n=448): time 5.982e-06/0.5668, allocations: 0 / 0.5209 GB, free: 5.824 MB / 378.8 MB Notification: Performance of matching and sorting (n=448): time 0.01422/0.581, allocations: 4.772 MB / 0.5255 GB, free: 1.031 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5811, allocations: 98.92 kB / 0.5256 GB, free: 0.9219 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/0.597, allocations: 10.99 MB / 0.5364 GB, free: 5.965 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00176/0.5987, allocations: 109.7 kB / 0.5365 GB, free: 5.852 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005996/0.6047, allocations: 7.113 MB / 0.5434 GB, free: 14.7 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003142/0.6079, allocations: 1.748 MB / 0.5451 GB, free: 12.94 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004168/0.612, allocations: 2.303 MB / 0.5474 GB, free: 10.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6121, allocations: 480.8 kB / 0.5478 GB, free: 10.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.6151, allocations: 1.641 MB / 0.5494 GB, free: 8.492 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.6192, allocations: 3.388 MB / 0.5527 GB, free: 4.664 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1544/0.7737, allocations: 4.836 MB / 0.5575 GB, free: 119.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.447e-05/0.7737, allocations: 7.5 kB / 0.5575 GB, free: 119.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.02309/0.7968, allocations: 10.3 MB / 0.5675 GB, free: 118.4 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.7968, allocations: 23.14 kB / 0.5675 GB, free: 118.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/0.7969, allocations: 25.69 kB / 0.5676 GB, free: 118.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02204/0.8189, allocations: 18.35 MB / 0.5855 GB, free: 113.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.8234, allocations: 1.333 MB / 0.5868 GB, free: 112.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04719/0.8706, allocations: 98.52 MB / 0.683 GB, free: 14.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008467/0.8791, allocations: 1.118 MB / 0.6841 GB, free: 14.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008517/0.8799, allocations: 313.4 kB / 0.6844 GB, free: 14.15 MB / 410.8 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.003895/0.8838, allocations: 0.5255 MB / 0.6849 GB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/0.8861, allocations: 1.239 MB / 0.6861 GB, free: 13.22 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007521/0.8936, allocations: 4.437 MB / 0.6905 GB, free: 9.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.8936, allocations: 46.08 kB / 0.6905 GB, free: 9.637 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8936, allocations: 0 / 0.6905 GB, free: 9.637 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.8937, allocations: 23.92 kB / 0.6905 GB, free: 9.613 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/0.9147, allocations: 12.15 MB / 0.7024 GB, free: 15.94 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.9147, allocations: 3.938 kB / 0.7024 GB, free: 15.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.9155, allocations: 383.5 kB / 0.7028 GB, free: 15.56 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009743/0.9253, allocations: 8.123 MB / 0.7107 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/0.9257, allocations: 119.9 kB / 0.7108 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.9422, allocations: 4.943 MB / 0.7156 GB, free: 2.336 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9422, allocations: 0 / 0.7156 GB, free: 2.336 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.166/1.108, allocations: 4.517 MB / 0.72 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004693/1.113, allocations: 2.121 MB / 0.7221 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/1.114, allocations: 70.34 kB / 0.7222 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/1.118, allocations: 266.8 kB / 0.7224 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/1.118, allocations: 228.5 kB / 0.7227 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/1.118, allocations: 120.8 kB / 0.7228 GB, free: 117.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006092/1.124, allocations: 5.154 MB / 0.7278 GB, free: 116.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/1.124, allocations: 0 / 0.7278 GB, free: 116.8 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006546/1.131, allocations: 3.102 MB / 0.7308 GB, free: 116.8 MB / 426.8 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.0004402/1.131, allocations: 192.5 kB / 0.731 GB, free: 116.7 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02313/1.154, allocations: 15.98 MB / 0.7466 GB, free: 107.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.154, allocations: 0 / 0.7466 GB, free: 107.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01192/1.166, allocations: 3.176 MB / 0.7497 GB, free: 107.5 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007202/1.174, allocations: 2.829 MB / 0.7525 GB, free: 107.2 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/1.199, allocations: 20.5 MB / 0.7725 GB, free: 94.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.202, allocations: 3.559 MB / 0.776 GB, free: 91.49 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004034/1.206, allocations: 1.41 MB / 0.7773 GB, free: 90.08 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/1.21, allocations: 2.266 MB / 0.7796 GB, free: 87.81 MB / 426.8 MB Notification: Performance of SimCode: time 2.004e-06/1.21, allocations: 0 / 0.7796 GB, free: 87.81 MB / 426.8 MB Notification: Performance of Templates: time 0.3666/1.577, allocations: 197.4 MB / 0.9723 GB, free: 66.64 MB / 442.8 MB " [Timeout remaining time 658] 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: 9.575740982312709]