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.001428/0.001428, allocations: 103.6 kB / 18.95 MB, free: 2.812 MB / 14.72 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.002096/0.002096, allocations: 213.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.03116/0.03116, allocations: 5.488 MB / 317.9 MB, free: 13.58 MB / 254.1 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: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 71.89 kB / 446.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1606, allocations: 54.62 MB / 0.4895 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.008002/0.1686, allocations: 3.999 MB / 0.4934 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.1727, allocations: 1.523 MB / 0.4949 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.1735, allocations: 11.94 kB / 0.4949 GB, free: 6.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1748, allocations: 285.1 kB / 0.4951 GB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.176, allocations: 258.4 kB / 0.4954 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.1768, allocations: 223.5 kB / 0.4956 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.6229/0.7996, allocations: 25.76 MB / 0.5208 GB, free: 10.18 MB / 382.2 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009748/0.8094, allocations: 3.761 MB / 0.5244 GB, free: 9.355 MB / 382.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/0.8306, allocations: 9.755 MB / 0.534 GB, free: 8.141 MB / 382.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.035/0.8656, allocations: 12.59 MB / 0.5463 GB, free: 3.547 MB / 382.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0123/0.8779, allocations: 2.708 MB / 0.5489 GB, free: 3.543 MB / 382.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.895, allocations: 2.719 MB / 0.5516 GB, free: 3.539 MB / 382.2 MB Notification: Performance of NFScalarize.scalarize: time 0.01701/0.912, allocations: 5.136 MB / 0.5566 GB, free: 15.46 MB / 398.2 MB Notification: Performance of NFVerifyModel.verify: time 0.03648/0.9485, allocations: 7.884 MB / 0.5643 GB, free: 9.586 MB / 398.2 MB Notification: Performance of NFConvertDAE.convert: time 0.05768/1.006, allocations: 29.27 MB / 0.5928 GB, free: 12.78 MB / 430.2 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/1.006, allocations: 0 / 0.5928 GB, free: 12.78 MB / 430.2 MB Notification: Performance of FrontEnd: time 2.535e-06/1.006, allocations: 0 / 0.5928 GB, free: 12.78 MB / 430.2 MB Notification: Performance of Transformations before backend: time 0.001332/1.007, allocations: 0 / 0.5928 GB, free: 12.78 MB / 430.2 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.1375/1.145, allocations: 31.52 MB / 0.6236 GB, free: 13.2 MB / 462.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.145, allocations: 12.03 kB / 0.6236 GB, free: 13.19 MB / 462.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/1.156, allocations: 1.544 MB / 0.6251 GB, free: 11.64 MB / 462.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06487/1.221, allocations: 18.77 MB / 0.6435 GB, free: 9.152 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000995/1.222, allocations: 0.6217 MB / 0.6441 GB, free: 8.527 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005916/1.228, allocations: 0.8203 MB / 0.6449 GB, free: 7.707 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05331/1.282, allocations: 15.72 MB / 0.6602 GB, free: 7.52 MB / 494.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004829/1.282, allocations: 29.41 kB / 0.6603 GB, free: 7.504 MB / 494.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005112/1.287, allocations: 346.6 kB / 0.6606 GB, free: 7.168 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002696/1.287, allocations: 212 kB / 0.6608 GB, free: 6.961 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06341/1.351, allocations: 17.57 MB / 0.6779 GB, free: 5.492 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1502/1.501, allocations: 52.49 MB / 0.7292 GB, free: 1 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3603/1.861, allocations: 17.33 MB / 0.7461 GB, free: 158.8 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/1.874, allocations: 7.135 MB / 0.7531 GB, free: 156.6 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/1.874, allocations: 60.89 kB / 0.7532 GB, free: 156.6 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/1.874, allocations: 78.95 kB / 0.7532 GB, free: 156.5 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=448): time 7.704e-06/1.874, allocations: 3.938 kB / 0.7532 GB, free: 156.5 MB / 0.5451 GB Notification: Performance of matching and sorting (n=448): time 0.04389/1.918, allocations: 21.92 MB / 0.7746 GB, free: 148.9 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.918, allocations: 95.98 kB / 0.7747 GB, free: 148.8 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02404/1.942, allocations: 13.61 MB / 0.788 GB, free: 137.5 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.002162/1.945, allocations: 109.7 kB / 0.7881 GB, free: 137.3 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.006538/1.951, allocations: 6.282 MB / 0.7943 GB, free: 132.5 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002471/1.954, allocations: 1.656 MB / 0.7959 GB, free: 131.1 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004261/1.958, allocations: 2.137 MB / 0.798 GB, free: 128.9 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/1.958, allocations: 308.9 kB / 0.7983 GB, free: 128.6 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01287/1.971, allocations: 7.651 MB / 0.8057 GB, free: 120.9 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01603/1.987, allocations: 8.836 MB / 0.8144 GB, free: 111.8 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0315/2.018, allocations: 14.39 MB / 0.8284 GB, free: 97 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.365e-05/2.018, allocations: 4 kB / 0.8284 GB, free: 96.99 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.07299/2.091, allocations: 25.57 MB / 0.8534 GB, free: 71.18 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.091, allocations: 16 kB / 0.8534 GB, free: 71.16 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-05/2.092, allocations: 24 kB / 0.8534 GB, free: 71.14 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05229/2.144, allocations: 26.41 MB / 0.8792 GB, free: 44.59 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/2.151, allocations: 1.491 MB / 0.8807 GB, free: 43.1 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5108/2.662, allocations: 102.5 MB / 0.9808 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02235/2.684, allocations: 2.351 MB / 0.9831 GB, free: 160.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004075/2.688, allocations: 381.9 kB / 0.9835 GB, free: 160.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * 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.01442/2.703, allocations: 4.557 MB / 0.9879 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005627/2.708, allocations: 1.107 MB / 0.989 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04558/2.754, allocations: 17.45 MB / 1.006 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/2.754, allocations: 45.31 kB / 1.006 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/2.754, allocations: 0 / 1.006 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/2.754, allocations: 20.8 kB / 1.006 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08788/2.842, allocations: 29.67 MB / 1.035 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/2.842, allocations: 0.5625 kB / 1.035 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/2.844, allocations: 458.8 kB / 1.036 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02667/2.871, allocations: 15.81 MB / 1.051 GB, free: 112.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002293/2.873, allocations: 111.9 kB / 1.051 GB, free: 112.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06871/2.942, allocations: 25.2 MB / 1.076 GB, free: 87.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.942, allocations: 0 / 1.076 GB, free: 87.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03925/2.981, allocations: 16.68 MB / 1.092 GB, free: 71.06 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009542/2.99, allocations: 2.661 MB / 1.095 GB, free: 68.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004934/2.995, allocations: 76 kB / 1.095 GB, free: 68.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/3.007, allocations: 1.311 MB / 1.096 GB, free: 67.06 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/3.008, allocations: 238.8 kB / 1.096 GB, free: 66.83 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001363/3.009, allocations: 147.9 kB / 1.096 GB, free: 66.68 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0212/3.03, allocations: 9.268 MB / 1.105 GB, free: 57.46 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.31e-07/3.03, allocations: 0 / 1.105 GB, free: 57.46 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01799/3.048, allocations: 3.102 MB / 1.108 GB, free: 54.52 MB / 0.5763 GB 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.002114/3.05, allocations: 199.3 kB / 1.109 GB, free: 54.35 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07509/3.125, allocations: 30.39 MB / 1.138 GB, free: 23.16 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/3.125, allocations: 3.844 kB / 1.138 GB, free: 23.16 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04919/3.174, allocations: 15.05 MB / 1.153 GB, free: 8.102 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02345/3.198, allocations: 2.622 MB / 1.156 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4161/3.614, allocations: 29.71 MB / 1.185 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01992/3.634, allocations: 8.203 MB / 1.193 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01239/3.646, allocations: 3.496 MB / 1.196 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003034/3.649, allocations: 0.569 MB / 1.197 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.603e-06/3.649, allocations: 3.656 kB / 1.197 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.2758/3.925, allocations: 198.4 MB / 1.39 GB, free: 3.184 MB / 0.5919 GB " [Timeout remaining time 656] 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.18754385598004] Failed to read output from testmodel.py, exit status != 0: 4.161806631833315 4.174661434 3.165358903 Calling exit ...