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.001874/0.001874, allocations: 78.48 kB / 19.76 MB, free: 2.031 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.002538/0.002538, allocations: 158.4 kB / 23.01 MB, free: 4.941 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.02815/0.02815, allocations: 4.226 MB / 264 MB, free: 12.54 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.002164/0.002164, allocations: 67.89 kB / 392.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1136, allocations: 54.58 MB / 447.3 MB, free: 4.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006462/0.1201, allocations: 4.001 MB / 451.3 MB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1232, allocations: 1.535 MB / 452.8 MB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.1237, allocations: 11.94 kB / 452.8 MB, free: 15.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009752/0.1247, allocations: 297.3 kB / 453.1 MB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007128/0.1254, allocations: 246.4 kB / 453.3 MB, free: 14.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1259, allocations: 219.6 kB / 453.6 MB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02567/0.1516, allocations: 25.77 MB / 479.3 MB, free: 4.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007896/0.1595, allocations: 3.765 MB / 483.1 MB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4112/0.5707, allocations: 9.759 MB / 492.8 MB, free: 50.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02192/0.5926, allocations: 12.6 MB / 0.4936 GB, free: 48.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008791/0.6014, allocations: 2.708 MB / 0.4962 GB, free: 48.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.6128, allocations: 2.724 MB / 0.4989 GB, free: 48.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01131/0.6241, allocations: 5.136 MB / 0.5039 GB, free: 46.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03041/0.6545, allocations: 7.886 MB / 0.5116 GB, free: 42.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03928/0.6938, allocations: 29.26 MB / 0.5402 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.6938, allocations: 2.594 kB / 0.5402 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6938, allocations: 0 / 0.5402 GB, free: 29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009761/0.6948, allocations: 0 / 0.5402 GB, free: 29 MB / 446.1 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.1062/0.801, allocations: 31.51 MB / 0.571 GB, free: 2.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.801, allocations: 12.03 kB / 0.571 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/0.8094, allocations: 1.546 MB / 0.5725 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06197/0.8714, allocations: 18.76 MB / 0.5908 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008063/0.8722, allocations: 0.6256 MB / 0.5914 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004802/0.877, allocations: 0.8203 MB / 0.5922 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04835/0.9254, allocations: 15.72 MB / 0.6076 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000351/0.9257, allocations: 24.03 kB / 0.6076 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004115/0.9298, allocations: 354.6 kB / 0.6079 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.93, allocations: 212 kB / 0.6081 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04529/0.9753, allocations: 17.58 MB / 0.6253 GB, free: 11.07 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.103, allocations: 52.52 MB / 0.6766 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2545/1.358, allocations: 17.32 MB / 0.6935 GB, free: 149.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01137/1.369, allocations: 7.131 MB / 0.7005 GB, free: 147.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/1.369, allocations: 64.8 kB / 0.7005 GB, free: 147.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/1.369, allocations: 77.77 kB / 0.7006 GB, free: 147.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.133e-06/1.369, allocations: 0 / 0.7006 GB, free: 147.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04401/1.413, allocations: 21.92 MB / 0.722 GB, free: 141.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/1.414, allocations: 97.77 kB / 0.7221 GB, free: 141.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02686/1.44, allocations: 13.6 MB / 0.7354 GB, free: 137.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/1.442, allocations: 112.8 kB / 0.7355 GB, free: 137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005322/1.447, allocations: 6.287 MB / 0.7416 GB, free: 133.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.45, allocations: 1.651 MB / 0.7432 GB, free: 132.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005131/1.455, allocations: 2.14 MB / 0.7453 GB, free: 131.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/1.455, allocations: 308.6 kB / 0.7456 GB, free: 131 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01389/1.469, allocations: 7.654 MB / 0.7531 GB, free: 128.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01687/1.486, allocations: 8.838 MB / 0.7617 GB, free: 121.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02993/1.516, allocations: 14.39 MB / 0.7758 GB, free: 106.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/1.516, allocations: 8 kB / 0.7758 GB, free: 106.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06799/1.584, allocations: 25.56 MB / 0.8008 GB, free: 81.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/1.584, allocations: 16 kB / 0.8008 GB, free: 81.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/1.584, allocations: 20 kB / 0.8008 GB, free: 81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04764/1.631, allocations: 26.4 MB / 0.8266 GB, free: 54.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007408/1.639, allocations: 1.498 MB / 0.828 GB, free: 52.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3881/2.027, allocations: 102.5 MB / 0.9282 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02008/2.047, allocations: 2.355 MB / 0.9305 GB, free: 158.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003131/2.05, allocations: 386 kB / 0.9308 GB, free: 158.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.01077/2.061, allocations: 4.557 MB / 0.9353 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003741/2.065, allocations: 1.104 MB / 0.9364 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04096/2.105, allocations: 17.45 MB / 0.9534 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.474e-05/2.106, allocations: 41.25 kB / 0.9535 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/2.106, allocations: 2.5 kB / 0.9535 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/2.106, allocations: 21.94 kB / 0.9535 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06943/2.175, allocations: 29.68 MB / 0.9825 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/2.175, allocations: 0 / 0.9825 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/2.177, allocations: 456.2 kB / 0.9829 GB, free: 139.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02516/2.202, allocations: 15.8 MB / 0.9983 GB, free: 126.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/2.204, allocations: 119.9 kB / 0.9985 GB, free: 126 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06451/2.268, allocations: 25.19 MB / 1.023 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.268, allocations: 0 / 1.023 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03731/2.305, allocations: 16.69 MB / 1.039 GB, free: 84.74 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008758/2.314, allocations: 2.658 MB / 1.042 GB, free: 82.12 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003847/2.318, allocations: 68 kB / 1.042 GB, free: 82.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/2.33, allocations: 1.311 MB / 1.043 GB, free: 80.75 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.331, allocations: 243 kB / 1.044 GB, free: 80.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001729/2.333, allocations: 143.9 kB / 1.044 GB, free: 80.37 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01839/2.351, allocations: 9.272 MB / 1.053 GB, free: 71.14 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.6e-07/2.351, allocations: 0 / 1.053 GB, free: 71.14 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01585/2.367, allocations: 3.099 MB / 1.056 GB, free: 68.21 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.001758/2.369, allocations: 200.5 kB / 1.056 GB, free: 68.03 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07189/2.441, allocations: 30.38 MB / 1.086 GB, free: 36.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/2.441, allocations: 4 kB / 1.086 GB, free: 36.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05045/2.491, allocations: 15.06 MB / 1.1 GB, free: 21.83 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/2.508, allocations: 2.624 MB / 1.103 GB, free: 19.29 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3127/2.821, allocations: 29.71 MB / 1.132 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/2.835, allocations: 8.206 MB / 1.14 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01024/2.845, allocations: 3.491 MB / 1.143 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/2.848, allocations: 0.5733 MB / 1.144 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.031e-06/2.848, allocations: 0 / 1.144 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.2662/3.114, allocations: 183.1 MB / 1.323 GB, free: 28.38 MB / 0.5919 GB " [Timeout remaining time 657] 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 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.57029890397098] Failed to read output from testmodel.py, exit status != 0: 3.1246523670852184 3.139799184 2.4424593359999998 Calling exit ...