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.001532/0.001532, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001801/0.001801, allocations: 216.9 kB / 22.25 MB, free: 4.852 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.793 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.03048/0.03048, allocations: 5.477 MB / 317.9 MB, free: 13.63 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.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.003814/0.003814, allocations: 67.91 kB / 448.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1602, allocations: 54.62 MB / 0.491 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006072/0.1663, allocations: 3.994 MB / 0.4949 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.1695, allocations: 1.523 MB / 0.4964 GB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.1698, allocations: 11.94 kB / 0.4964 GB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.1706, allocations: 301 kB / 0.4967 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.1712, allocations: 258.2 kB / 0.4969 GB, free: 4.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1717, allocations: 219.6 kB / 0.4971 GB, free: 4.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3118/0.4835, allocations: 25.77 MB / 0.5223 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/0.4918, allocations: 3.764 MB / 0.526 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01902/0.5109, allocations: 9.756 MB / 0.5355 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03007/0.5409, allocations: 12.6 MB / 0.5478 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01561/0.5565, allocations: 2.709 MB / 0.5505 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.5737, allocations: 2.732 MB / 0.5531 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01552/0.5893, allocations: 5.13 MB / 0.5581 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02775/0.617, allocations: 7.882 MB / 0.5658 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04617/0.6632, allocations: 29.26 MB / 0.5944 GB, free: 11.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6632, allocations: 0 / 0.5944 GB, free: 11.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6632, allocations: 0 / 0.5944 GB, free: 11.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001257/0.6644, allocations: 2.719 kB / 0.5944 GB, free: 11.76 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.1477/0.8121, allocations: 31.52 MB / 0.6252 GB, free: 12.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.8122, allocations: 8.031 kB / 0.6252 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.8234, allocations: 1.546 MB / 0.6267 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06459/0.8879, allocations: 18.76 MB / 0.645 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/0.8891, allocations: 0.6256 MB / 0.6456 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00763/0.8967, allocations: 0.8171 MB / 0.6464 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0553/0.952, allocations: 15.72 MB / 0.6618 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/0.9524, allocations: 21.41 kB / 0.6618 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004872/0.9573, allocations: 348 kB / 0.6621 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.9575, allocations: 212.8 kB / 0.6623 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05707/1.015, allocations: 17.57 MB / 0.6795 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7504/1.765, allocations: 52.48 MB / 0.7308 GB, free: 151.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04177/1.807, allocations: 17.33 MB / 0.7477 GB, free: 150 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01522/1.822, allocations: 7.134 MB / 0.7547 GB, free: 147.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/1.823, allocations: 63.58 kB / 0.7547 GB, free: 147.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/1.823, allocations: 77.39 kB / 0.7548 GB, free: 147.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 3.502e-05/1.823, allocations: 0 / 0.7548 GB, free: 147.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05093/1.874, allocations: 21.92 MB / 0.7762 GB, free: 140.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.874, allocations: 99.48 kB / 0.7763 GB, free: 140.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03249/1.906, allocations: 13.6 MB / 0.7896 GB, free: 133.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002248/1.908, allocations: 113.7 kB / 0.7897 GB, free: 133.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.008228/1.917, allocations: 6.296 MB / 0.7958 GB, free: 128.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003809/1.921, allocations: 1.658 MB / 0.7975 GB, free: 126.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01304/1.934, allocations: 2.141 MB / 0.7995 GB, free: 124.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.934, allocations: 304.9 kB / 0.7998 GB, free: 124.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0158/1.949, allocations: 7.652 MB / 0.8073 GB, free: 116.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01775/1.967, allocations: 8.837 MB / 0.8159 GB, free: 107.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03275/2, allocations: 14.38 MB / 0.83 GB, free: 92.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.339e-05/2, allocations: 8 kB / 0.83 GB, free: 92.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.07291/2.073, allocations: 25.56 MB / 0.855 GB, free: 67.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/2.073, allocations: 16 kB / 0.855 GB, free: 67.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.471e-05/2.073, allocations: 26 kB / 0.855 GB, free: 67.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0472/2.12, allocations: 26.1 MB / 0.8805 GB, free: 40.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008231/2.128, allocations: 1.498 MB / 0.8819 GB, free: 39.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5037/2.632, allocations: 102.5 MB / 0.9821 GB, free: 157.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01935/2.652, allocations: 2.353 MB / 0.9844 GB, free: 157.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004337/2.656, allocations: 386 kB / 0.9847 GB, free: 157.3 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.01305/2.669, allocations: 4.563 MB / 0.9892 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005345/2.674, allocations: 1.107 MB / 0.9903 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04511/2.719, allocations: 17.45 MB / 1.007 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/2.719, allocations: 46.47 kB / 1.007 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/2.719, allocations: 0 / 1.007 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/2.72, allocations: 21.23 kB / 1.007 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08184/2.801, allocations: 29.67 MB / 1.036 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/2.801, allocations: 0.875 kB / 1.036 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/2.803, allocations: 454.8 kB / 1.037 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02981/2.833, allocations: 15.81 MB / 1.052 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002466/2.836, allocations: 115.9 kB / 1.052 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.104/2.939, allocations: 25.2 MB / 1.077 GB, free: 83.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.939, allocations: 1.688 kB / 1.077 GB, free: 83.48 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06111/3.001, allocations: 16.68 MB / 1.093 GB, free: 67.25 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01593/3.016, allocations: 2.669 MB / 1.096 GB, free: 64.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006441/3.023, allocations: 72 kB / 1.096 GB, free: 64.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/3.035, allocations: 1.316 MB / 1.097 GB, free: 63.25 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009624/3.036, allocations: 235 kB / 1.097 GB, free: 63.02 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001693/3.038, allocations: 143.9 kB / 1.098 GB, free: 62.88 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02007/3.058, allocations: 9.276 MB / 1.107 GB, free: 53.65 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.9e-07/3.058, allocations: 0 / 1.107 GB, free: 53.65 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01753/3.076, allocations: 3.095 MB / 1.11 GB, free: 50.72 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.00258/3.078, allocations: 205.4 kB / 1.11 GB, free: 50.54 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07537/3.154, allocations: 30.38 MB / 1.14 GB, free: 19.36 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/3.154, allocations: 7.25 kB / 1.14 GB, free: 19.35 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04967/3.203, allocations: 15.05 MB / 1.154 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02231/3.226, allocations: 2.628 MB / 1.157 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.35/3.575, allocations: 29.73 MB / 1.186 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0183/3.594, allocations: 8.208 MB / 1.194 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01123/3.605, allocations: 3.494 MB / 1.197 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/3.608, allocations: 0.5739 MB / 1.198 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/3.608, allocations: 3.281 kB / 1.198 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.5274/4.135, allocations: 198.4 MB / 1.392 GB, free: 178.5 MB / 0.5919 GB " [Timeout remaining time 656] 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.380950735881925] Failed to read output from testmodel.py, exit status != 0: 4.148196777328849 4.159283661 3.492294448 Calling exit ...