Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001213/0.001213, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001682/0.001682, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 8.016 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.03139/0.03139, allocations: 5.483 MB / 317.9 MB, free: 13.74 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") [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.002368/0.002368, allocations: 71.89 kB / 448.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1304, allocations: 54.61 MB / 0.4911 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.007648/0.138, allocations: 4.441 MB / 0.4954 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.1417, allocations: 1.655 MB / 0.497 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.1421, allocations: 15.88 kB / 0.4971 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1431, allocations: 329 kB / 0.4974 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007173/0.1439, allocations: 254.3 kB / 0.4976 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.1444, allocations: 219.6 kB / 0.4978 GB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3509/0.4953, allocations: 25.78 MB / 0.523 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006805/0.5021, allocations: 3.697 MB / 0.5266 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.5195, allocations: 9.63 MB / 0.536 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02609/0.5456, allocations: 10.93 MB / 0.5467 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01053/0.5562, allocations: 2.703 MB / 0.5493 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.569, allocations: 2.72 MB / 0.552 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01088/0.5798, allocations: 5.135 MB / 0.557 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02804/0.6079, allocations: 9.574 MB / 0.5663 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.047/0.6549, allocations: 29.12 MB / 0.5948 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.6549, allocations: 0 / 0.5948 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.868e-06/0.6549, allocations: 0 / 0.5948 GB, free: 11.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001415/0.6563, allocations: 0 / 0.5948 GB, free: 11.52 MB / 430.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.1278/0.7841, allocations: 31.52 MB / 0.6256 GB, free: 11.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7842, allocations: 8.031 kB / 0.6256 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.7961, allocations: 1.542 MB / 0.6271 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06595/0.8621, allocations: 18.77 MB / 0.6454 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009569/0.863, allocations: 0.6282 MB / 0.646 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005853/0.8689, allocations: 0.8163 MB / 0.6468 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/0.9233, allocations: 15.69 MB / 0.6621 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005281/0.9238, allocations: 25.22 kB / 0.6622 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005411/0.9292, allocations: 348 kB / 0.6625 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000288/0.9295, allocations: 212 kB / 0.6627 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05381/0.9833, allocations: 17.61 MB / 0.6799 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4091/1.392, allocations: 57.44 MB / 0.736 GB, free: 153.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03359/1.426, allocations: 17.36 MB / 0.7529 GB, free: 152.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01248/1.439, allocations: 7.153 MB / 0.7599 GB, free: 150.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/1.439, allocations: 72.36 kB / 0.76 GB, free: 150.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/1.439, allocations: 80.73 kB / 0.7601 GB, free: 150.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 5.731e-06/1.439, allocations: 0 / 0.7601 GB, free: 150.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04013/1.479, allocations: 22.05 MB / 0.7816 GB, free: 142.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/1.479, allocations: 103.7 kB / 0.7817 GB, free: 142.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02423/1.503, allocations: 15.36 MB / 0.7967 GB, free: 132.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001774/1.505, allocations: 113.7 kB / 0.7968 GB, free: 132.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005606/1.511, allocations: 6.206 MB / 0.8029 GB, free: 127.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.513, allocations: 1.659 MB / 0.8045 GB, free: 125.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004763/1.518, allocations: 2.145 MB / 0.8066 GB, free: 123.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/1.518, allocations: 305.1 kB / 0.8069 GB, free: 123.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0121/1.53, allocations: 7.652 MB / 0.8143 GB, free: 115.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/1.544, allocations: 8.837 MB / 0.823 GB, free: 106.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02561/1.57, allocations: 14.38 MB / 0.837 GB, free: 91.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.274e-05/1.57, allocations: 4 kB / 0.837 GB, free: 91.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05857/1.628, allocations: 25.69 MB / 0.8621 GB, free: 65.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.628, allocations: 25.19 kB / 0.8621 GB, free: 65.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.628, allocations: 24.56 kB / 0.8622 GB, free: 65.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04829/1.677, allocations: 26.1 MB / 0.8877 GB, free: 39.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006758/1.683, allocations: 1.494 MB / 0.8891 GB, free: 37.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3993/2.083, allocations: 103.8 MB / 0.9905 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02015/2.103, allocations: 2.512 MB / 0.9929 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003771/2.107, allocations: 382.7 kB / 0.9933 GB, free: 158.6 MB / 0.5762 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.01227/2.119, allocations: 4.564 MB / 0.9977 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004074/2.123, allocations: 1.23 MB / 0.9989 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03233/2.155, allocations: 17.56 MB / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/2.155, allocations: 46.78 kB / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.155, allocations: 0 / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/2.155, allocations: 19.92 kB / 1.016 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06788/2.223, allocations: 32.45 MB / 1.048 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/2.223, allocations: 0 / 1.048 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/2.225, allocations: 455.8 kB / 1.048 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02416/2.249, allocations: 15.81 MB / 1.064 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/2.251, allocations: 119.9 kB / 1.064 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06454/2.315, allocations: 25.19 MB / 1.088 GB, free: 82.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/2.315, allocations: 0 / 1.088 GB, free: 82.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03009/2.345, allocations: 16.82 MB / 1.105 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009893/2.355, allocations: 2.863 MB / 1.108 GB, free: 63.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004593/2.36, allocations: 81.91 kB / 1.108 GB, free: 63.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/2.371, allocations: 1.311 MB / 1.109 GB, free: 62.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/2.372, allocations: 231 kB / 1.109 GB, free: 61.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009409/2.373, allocations: 143.9 kB / 1.109 GB, free: 61.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01855/2.392, allocations: 10.61 MB / 1.12 GB, free: 51.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/2.392, allocations: 3.844 kB / 1.12 GB, free: 51.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01325/2.405, allocations: 2.975 MB / 1.123 GB, free: 48.27 MB / 0.5762 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.001291/2.406, allocations: 198.6 kB / 1.123 GB, free: 48.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.07393/2.48, allocations: 30.38 MB / 1.152 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.48, allocations: 3.938 kB / 1.153 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0501/2.53, allocations: 15.05 MB / 1.167 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2513/2.781, allocations: 3.145 MB / 1.17 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0661/2.847, allocations: 30.11 MB / 1.2 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/2.859, allocations: 8.561 MB / 1.208 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01041/2.87, allocations: 3.776 MB / 1.212 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/2.872, allocations: 0.6364 MB / 1.212 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/2.872, allocations: 0 / 1.212 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.5621/3.434, allocations: 210.5 MB / 1.418 GB, free: 166.7 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -s=dassl -lv=LOG_STATS -jacobian=coloredNumerical -nls=newton -nlssMaxDensity=0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.942024188116193] Failed to read output from testmodel.py, exit status != 0: 3.4440137022174895 3.459874709 2.80104511 Calling exit ...