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.001755/0.001755, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002425/0.002425, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.02847/0.02847, allocations: 4.225 MB / 264 MB, free: 12.55 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.002077/0.002077, allocations: 63.89 kB / 394.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1052, allocations: 54.57 MB / 448.8 MB, free: 3.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005782/0.111, allocations: 4.023 MB / 452.8 MB, free: 15.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1139, allocations: 1.535 MB / 454.4 MB, free: 13.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1142, allocations: 19.88 kB / 454.4 MB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008907/0.1151, allocations: 289.4 kB / 454.7 MB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.1156, allocations: 254.4 kB / 454.9 MB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.116, allocations: 223.6 kB / 455.2 MB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02515/0.1412, allocations: 25.78 MB / 480.9 MB, free: 2.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4345/0.5757, allocations: 3.752 MB / 484.7 MB, free: 51.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.5867, allocations: 9.767 MB / 494.5 MB, free: 50.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01845/0.6051, allocations: 12.61 MB / 0.4952 GB, free: 48.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009783/0.6149, allocations: 2.706 MB / 0.4978 GB, free: 48.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/0.6289, allocations: 2.724 MB / 0.5005 GB, free: 48.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01042/0.6393, allocations: 5.127 MB / 0.5055 GB, free: 45.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02427/0.6636, allocations: 7.893 MB / 0.5132 GB, free: 41.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03705/0.7006, allocations: 29.26 MB / 0.5418 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.7006, allocations: 2.75 kB / 0.5418 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7006, allocations: 0 / 0.5418 GB, free: 27.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001002/0.7016, allocations: 6.625 kB / 0.5418 GB, free: 27.84 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.1115/0.8132, allocations: 31.51 MB / 0.5725 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8132, allocations: 12.03 kB / 0.5726 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/0.8225, allocations: 1.546 MB / 0.5741 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06642/0.889, allocations: 18.76 MB / 0.5924 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/0.8901, allocations: 0.6217 MB / 0.593 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00624/0.8964, allocations: 0.8203 MB / 0.5938 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04766/0.9441, allocations: 15.71 MB / 0.6091 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004767/0.9445, allocations: 31.88 kB / 0.6092 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004211/0.9487, allocations: 348 kB / 0.6095 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.949, allocations: 212 kB / 0.6097 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04933/0.9983, allocations: 17.57 MB / 0.6269 GB, free: 8.867 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1376/1.136, allocations: 52.5 MB / 0.6781 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2616/1.398, allocations: 17.33 MB / 0.6951 GB, free: 148.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01107/1.409, allocations: 7.137 MB / 0.702 GB, free: 146.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/1.409, allocations: 56.36 kB / 0.7021 GB, free: 146.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.409, allocations: 84.33 kB / 0.7022 GB, free: 146.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.153e-06/1.409, allocations: 0 / 0.7022 GB, free: 146.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04869/1.458, allocations: 21.92 MB / 0.7236 GB, free: 140.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.458, allocations: 101 kB / 0.7237 GB, free: 140.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0353/1.493, allocations: 13.61 MB / 0.737 GB, free: 135.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002062/1.495, allocations: 109.4 kB / 0.7371 GB, free: 135.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.008605/1.504, allocations: 6.299 MB / 0.7432 GB, free: 132.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003119/1.507, allocations: 1.652 MB / 0.7448 GB, free: 131 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009824/1.517, allocations: 2.136 MB / 0.7469 GB, free: 130.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/1.517, allocations: 312.1 kB / 0.7472 GB, free: 129.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01436/1.531, allocations: 7.649 MB / 0.7547 GB, free: 127.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01675/1.548, allocations: 8.84 MB / 0.7633 GB, free: 119.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02938/1.577, allocations: 14.39 MB / 0.7774 GB, free: 104.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.424e-05/1.577, allocations: 8 kB / 0.7774 GB, free: 104.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.0669/1.644, allocations: 25.56 MB / 0.8023 GB, free: 79.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/1.644, allocations: 14.5 kB / 0.8023 GB, free: 79.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/1.644, allocations: 24 kB / 0.8024 GB, free: 79.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04831/1.692, allocations: 26.1 MB / 0.8279 GB, free: 52.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/1.7, allocations: 1.494 MB / 0.8293 GB, free: 51.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3709/2.071, allocations: 102.5 MB / 0.9295 GB, free: 157.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/2.09, allocations: 2.354 MB / 0.9318 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003251/2.093, allocations: 383.8 kB / 0.9321 GB, free: 156.9 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.01115/2.104, allocations: 4.555 MB / 0.9366 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003948/2.108, allocations: 1.106 MB / 0.9377 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04329/2.151, allocations: 17.46 MB / 0.9547 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/2.151, allocations: 41.28 kB / 0.9547 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/2.151, allocations: 0 / 0.9547 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/2.152, allocations: 22.45 kB / 0.9548 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07421/2.226, allocations: 29.68 MB / 0.9837 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/2.226, allocations: 0 / 0.9837 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/2.228, allocations: 455.6 kB / 0.9842 GB, free: 138.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02658/2.254, allocations: 15.8 MB / 0.9996 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001722/2.256, allocations: 122.7 kB / 0.9997 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06701/2.323, allocations: 25.2 MB / 1.024 GB, free: 99.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.323, allocations: 0 / 1.024 GB, free: 99.37 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03338/2.356, allocations: 16.69 MB / 1.041 GB, free: 83.23 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008661/2.365, allocations: 2.658 MB / 1.043 GB, free: 80.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006046/2.371, allocations: 68 kB / 1.043 GB, free: 80.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/2.384, allocations: 1.318 MB / 1.045 GB, free: 79.23 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009935/2.385, allocations: 235 kB / 1.045 GB, free: 79 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001543/2.386, allocations: 143.9 kB / 1.045 GB, free: 78.86 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01822/2.404, allocations: 9.276 MB / 1.054 GB, free: 69.63 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2e-07/2.404, allocations: 3 kB / 1.054 GB, free: 69.63 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01467/2.419, allocations: 3.097 MB / 1.057 GB, free: 66.7 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.001508/2.421, allocations: 193.2 kB / 1.057 GB, free: 66.53 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.09632/2.517, allocations: 30.38 MB / 1.087 GB, free: 35.39 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/2.517, allocations: 0 / 1.087 GB, free: 35.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.06875/2.586, allocations: 15.06 MB / 1.102 GB, free: 20.32 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01969/2.605, allocations: 2.63 MB / 1.104 GB, free: 17.78 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3165/2.922, allocations: 29.73 MB / 1.133 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008899/2.931, allocations: 8.206 MB / 1.141 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009266/2.94, allocations: 3.498 MB / 1.145 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/2.942, allocations: 0.5717 MB / 1.145 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/2.942, allocations: 0 / 1.145 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.2594/3.201, allocations: 183 MB / 1.324 GB, free: 27.45 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.62926940608304] Failed to read output from testmodel.py, exit status != 0: 3.211417165934108 3.220507572 2.517100305 Calling exit ...