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.001312/0.001312, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001494/0.001494, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.044/1.044, 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.02271/0.02271, allocations: 4.227 MB / 264.5 MB, free: 8.812 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.653e-06/1.653e-06, allocations: 0 / 286.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.527e-05, allocations: 6.25 kB / 286.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.1309/0.1309, allocations: 4.282 MB / 290.6 MB, free: 22.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1339, allocations: 1.642 MB / 292.2 MB, free: 22.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.1343, allocations: 15.38 kB / 292.3 MB, free: 22.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.1351, allocations: 308.1 kB / 292.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.1356, allocations: 265 kB / 292.8 MB, free: 21.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.1361, allocations: 221.4 kB / 293 MB, free: 21.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.1515, allocations: 27.76 MB / 320.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006155/0.1576, allocations: 3.657 MB / 324.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02729/0.1849, allocations: 14.21 MB / 338.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0198/0.2047, allocations: 11.12 MB / 349.8 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00675/0.2115, allocations: 2.309 MB / 352.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008831/0.2203, allocations: 2.332 MB / 354.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007176/0.2275, allocations: 4.561 MB / 359 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01503/0.2425, allocations: 6.259 MB / 365.2 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02333/0.2659, allocations: 16.38 MB / 381.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2659, allocations: 0 / 381.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2659, allocations: 0 / 381.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006274/0.2665, allocations: 4 kB / 381.6 MB, free: 3.77 MB / 330.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.04004/0.3065, allocations: 16.3 MB / 397.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3066, allocations: 8.031 kB / 397.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.3111, allocations: 1.585 MB / 399.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/0.3351, allocations: 8.97 MB / 408.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/0.3356, allocations: 0.6297 MB / 409.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/0.3389, allocations: 0.8164 MB / 409.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.352, allocations: 7.316 MB / 417.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.3521, allocations: 23.75 kB / 417.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008499/0.353, allocations: 344 kB / 417.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.3531, allocations: 212 kB / 417.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007375/0.3605, allocations: 3.012 MB / 420.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2775/0.638, allocations: 29.29 MB / 450.1 MB, free: 86.07 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.646, allocations: 4.473 MB / 454.6 MB, free: 85.92 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.6482, allocations: 1.648 MB / 456.2 MB, free: 85.83 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.6483, allocations: 91.59 kB / 456.3 MB, free: 85.82 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.6483, allocations: 82.33 kB / 456.4 MB, free: 85.78 MB / 378.8 MB Notification: Performance of pre-optimization done (n=448): time 5.36e-06/0.6483, allocations: 0 / 456.4 MB, free: 85.78 MB / 378.8 MB Notification: Performance of matching and sorting (n=448): time 0.007871/0.6562, allocations: 3.403 MB / 459.8 MB, free: 85.64 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.6563, allocations: 96.45 kB / 459.9 MB, free: 85.57 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/0.6666, allocations: 7.949 MB / 467.9 MB, free: 83.77 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001691/0.6683, allocations: 111.7 kB / 468 MB, free: 83.74 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003397/0.6717, allocations: 4.242 MB / 472.2 MB, free: 82.71 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002964/0.6746, allocations: 1.63 MB / 473.8 MB, free: 81.61 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005678/0.6803, allocations: 1.91 MB / 475.8 MB, free: 80.46 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.6803, allocations: 305.1 kB / 476.1 MB, free: 80.16 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.6828, allocations: 1.351 MB / 477.4 MB, free: 79.88 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.6856, allocations: 2.512 MB / 479.9 MB, free: 77.05 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005123/0.6907, allocations: 4.038 MB / 484 MB, free: 72.75 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.219e-05/0.6907, allocations: 8 kB / 484 MB, free: 72.74 MB / 378.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01859/0.7093, allocations: 8.046 MB / 492 MB, free: 64.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.7094, allocations: 16 kB / 492 MB, free: 64.56 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.7094, allocations: 20 kB / 492 MB, free: 64.54 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/0.7276, allocations: 12.62 MB / 0.4928 GB, free: 51.85 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/0.732, allocations: 1.326 MB / 0.4941 GB, free: 50.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04109/0.7731, allocations: 68.72 MB / 0.5612 GB, free: 9.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007763/0.7808, allocations: 1.11 MB / 0.5623 GB, free: 8.527 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008115/0.7816, allocations: 299.6 kB / 0.5626 GB, free: 8.234 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.004107/0.7857, allocations: 493.6 kB / 0.5631 GB, free: 7.754 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/0.7876, allocations: 0.7218 MB / 0.5638 GB, free: 7.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/0.794, allocations: 3.684 MB / 0.5674 GB, free: 3.316 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.794, allocations: 47.98 kB / 0.5674 GB, free: 3.27 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.794, allocations: 0 / 0.5674 GB, free: 3.27 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.794, allocations: 19.92 kB / 0.5674 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1823/0.9763, allocations: 8.594 MB / 0.5758 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.9763, allocations: 1.094 kB / 0.5758 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.9774, allocations: 384.2 kB / 0.5762 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01372/0.9911, allocations: 7.907 MB / 0.5839 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005574/0.9917, allocations: 107 kB / 0.584 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02441/1.016, allocations: 4.151 MB / 0.5881 GB, free: 112 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.016, allocations: 0 / 0.5881 GB, free: 112 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007975/1.024, allocations: 3.072 MB / 0.5911 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004554/1.029, allocations: 1.34 MB / 0.5924 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/1.031, allocations: 72.81 kB / 0.5925 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004351/1.035, allocations: 266.3 kB / 0.5927 GB, free: 111.6 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.036, allocations: 235.1 kB / 0.5929 GB, free: 111.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003835/1.036, allocations: 107 kB / 0.593 GB, free: 111.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006586/1.042, allocations: 4.126 MB / 0.5971 GB, free: 111 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.81e-07/1.042, allocations: 0 / 0.5971 GB, free: 111 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.009166/1.052, allocations: 3.105 MB / 0.6001 GB, free: 111 MB / 410.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.000999/1.053, allocations: 177.2 kB / 0.6003 GB, free: 110.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02039/1.073, allocations: 12.46 MB / 0.6124 GB, free: 99.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004931/1.074, allocations: 140.4 kB / 0.6126 GB, free: 99.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.085, allocations: 2.933 MB / 0.6154 GB, free: 96.71 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/1.097, allocations: 2.807 MB / 0.6182 GB, free: 94.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/1.129, allocations: 19.74 MB / 0.6375 GB, free: 74.48 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/1.133, allocations: 2.632 MB / 0.64 GB, free: 71.81 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00459/1.137, allocations: 1.416 MB / 0.6414 GB, free: 70.39 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004112/1.141, allocations: 2.026 MB / 0.6434 GB, free: 68.33 MB / 410.8 MB Notification: Performance of SimCode: time 2.465e-06/1.141, allocations: 0 / 0.6434 GB, free: 68.33 MB / 410.8 MB Notification: Performance of Templates: time 0.3811/1.522, allocations: 194.6 MB / 0.8334 GB, free: 40.95 MB / 426.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: 8.002617307938635]