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.001401/0.001401, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.00157/0.00157, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.422/1.422, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.02851/0.02851, allocations: 4.222 MB / 263.4 MB, free: 12.57 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 393.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/3.825e-05, allocations: 5.094 kB / 393.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.007739/0.007778, allocations: 4.015 MB / 397.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.01136, allocations: 1.542 MB / 399.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.01178, allocations: 11.94 kB / 399.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000992/0.01277, allocations: 297.3 kB / 399.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.01345, allocations: 262.1 kB / 399.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.014, allocations: 223.6 kB / 400.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02682/0.04082, allocations: 26.4 MB / 426.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007746/0.04856, allocations: 3.773 MB / 430.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02418/0.07275, allocations: 13.97 MB / 444.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3458/0.4185, allocations: 11.63 MB / 455.9 MB, free: 34.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01055/0.4291, allocations: 2.705 MB / 458.6 MB, free: 34.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.4416, allocations: 2.721 MB / 461.3 MB, free: 34.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01183/0.4534, allocations: 5.187 MB / 466.5 MB, free: 33.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01579/0.4692, allocations: 6.897 MB / 473.4 MB, free: 31.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02789/0.4971, allocations: 30.7 MB / 0.4923 GB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4971, allocations: 0 / 0.4923 GB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4971, allocations: 2.812 kB / 0.4923 GB, free: 12.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008976/0.498, allocations: 3.25 kB / 0.4923 GB, free: 12.52 MB / 366.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.1095/0.6075, allocations: 31.36 MB / 0.5229 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.6076, allocations: 12.03 kB / 0.5229 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.6181, allocations: 1.548 MB / 0.5244 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06099/0.6791, allocations: 18.76 MB / 0.5428 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008752/0.68, allocations: 0.6287 MB / 0.5434 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005116/0.6851, allocations: 0.8125 MB / 0.5442 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04823/0.7333, allocations: 15.72 MB / 0.5595 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/0.7336, allocations: 25.59 kB / 0.5595 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003399/0.737, allocations: 348 kB / 0.5599 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.7372, allocations: 216 kB / 0.5601 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04431/0.7815, allocations: 17.57 MB / 0.5772 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3306/1.112, allocations: 52.45 MB / 0.6285 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03815/1.15, allocations: 17.33 MB / 0.6454 GB, free: 112 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01259/1.163, allocations: 7.142 MB / 0.6523 GB, free: 109.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.163, allocations: 64.53 kB / 0.6524 GB, free: 109.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.163, allocations: 77.23 kB / 0.6525 GB, free: 109.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 7.584e-06/1.163, allocations: 0 / 0.6525 GB, free: 109.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.04538/1.208, allocations: 21.93 MB / 0.6739 GB, free: 100.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/1.209, allocations: 98.11 kB / 0.674 GB, free: 100.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/1.229, allocations: 13.6 MB / 0.6873 GB, free: 88.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001925/1.231, allocations: 109.7 kB / 0.6874 GB, free: 88.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004509/1.235, allocations: 6.274 MB / 0.6935 GB, free: 83.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002425/1.238, allocations: 1.638 MB / 0.6951 GB, free: 81.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004191/1.242, allocations: 2.117 MB / 0.6972 GB, free: 79.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/1.242, allocations: 309.1 kB / 0.6975 GB, free: 78.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01345/1.256, allocations: 7.648 MB / 0.7049 GB, free: 71.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/1.271, allocations: 8.833 MB / 0.7136 GB, free: 62.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02781/1.299, allocations: 14.39 MB / 0.7276 GB, free: 47.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-05/1.299, allocations: 8 kB / 0.7276 GB, free: 47.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06592/1.365, allocations: 25.57 MB / 0.7526 GB, free: 21.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/1.365, allocations: 14.19 kB / 0.7526 GB, free: 21.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/1.365, allocations: 27.84 kB / 0.7526 GB, free: 21.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05016/1.415, allocations: 26.09 MB / 0.7781 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/1.423, allocations: 1.494 MB / 0.7796 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3182/1.741, allocations: 102.5 MB / 0.8796 GB, free: 104.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.019/1.76, allocations: 2.355 MB / 0.8819 GB, free: 103.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003447/1.764, allocations: 379.3 kB / 0.8823 GB, free: 103 MB / 0.4982 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.01091/1.775, allocations: 4.564 MB / 0.8867 GB, free: 100.3 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004994/1.78, allocations: 1.104 MB / 0.8878 GB, free: 100.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04214/1.822, allocations: 17.45 MB / 0.9049 GB, free: 87.79 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/1.822, allocations: 41.09 kB / 0.9049 GB, free: 87.75 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.822, allocations: 0 / 0.9049 GB, free: 87.75 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/1.822, allocations: 23.91 kB / 0.9049 GB, free: 87.72 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07423/1.896, allocations: 29.67 MB / 0.9339 GB, free: 58.24 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.896, allocations: 0 / 0.9339 GB, free: 58.24 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.898, allocations: 459.4 kB / 0.9343 GB, free: 57.79 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02558/1.924, allocations: 15.81 MB / 0.9498 GB, free: 41.97 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001868/1.925, allocations: 115.9 kB / 0.9499 GB, free: 41.86 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06491/1.99, allocations: 25.19 MB / 0.9745 GB, free: 16.72 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.99, allocations: 3.938 kB / 0.9745 GB, free: 16.71 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03317/2.024, allocations: 16.69 MB / 0.9908 GB, free: 52 kB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2322/2.256, allocations: 2.658 MB / 0.9934 GB, free: 150.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005061/2.261, allocations: 71.09 kB / 0.9935 GB, free: 150.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/2.273, allocations: 1.312 MB / 0.9947 GB, free: 150.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009361/2.274, allocations: 236.9 kB / 0.995 GB, free: 150.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001188/2.275, allocations: 146.8 kB / 0.9951 GB, free: 150.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02144/2.297, allocations: 9.274 MB / 1.004 GB, free: 149.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.81e-07/2.297, allocations: 0 / 1.004 GB, free: 149.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01601/2.313, allocations: 3.102 MB / 1.007 GB, free: 149.4 MB / 0.4982 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.00187/2.315, allocations: 197.4 kB / 1.007 GB, free: 149.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0743/2.389, allocations: 30.36 MB / 1.037 GB, free: 138 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.389, allocations: 0 / 1.037 GB, free: 138 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.04865/2.438, allocations: 15.05 MB / 1.052 GB, free: 126.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/2.453, allocations: 2.621 MB / 1.054 GB, free: 123.8 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05292/2.506, allocations: 29.71 MB / 1.083 GB, free: 94.15 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007892/2.514, allocations: 8.211 MB / 1.091 GB, free: 85.89 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009311/2.523, allocations: 3.495 MB / 1.095 GB, free: 82.38 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/2.526, allocations: 0.5746 MB / 1.095 GB, free: 81.81 MB / 0.4982 GB Notification: Performance of SimCode: time 1.553e-06/2.526, allocations: 0 / 1.095 GB, free: 81.81 MB / 0.4982 GB Notification: Performance of Templates: time 0.4564/2.982, allocations: 181.9 MB / 1.273 GB, free: 96.77 MB / 0.5138 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.806247856467962] Failed to read output from testmodel.py, exit status != 0: 2.9936946034431458 3.012442567 2.510955255 Calling exit ...