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.001848/0.001848, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002739/0.002739, allocations: 217.9 kB / 22.3 MB, free: 5.301 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.522/1.522, allocations: 230.6 MB / 256.1 MB, free: 7.785 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.03015/0.03015, allocations: 5.477 MB / 318 MB, free: 13.5 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.002238/0.002238, allocations: 63.91 kB / 448.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1404, allocations: 54.63 MB / 0.4911 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006498/0.1469, allocations: 4.002 MB / 0.495 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.1504, allocations: 1.531 MB / 0.4965 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.1508, allocations: 11.94 kB / 0.4965 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1518, allocations: 297.3 kB / 0.4968 GB, free: 4.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007717/0.1526, allocations: 250.3 kB / 0.497 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.1532, allocations: 227.6 kB / 0.4973 GB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3122/0.4653, allocations: 25.77 MB / 0.5224 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007492/0.4728, allocations: 3.759 MB / 0.5261 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.4895, allocations: 9.764 MB / 0.5356 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02809/0.5176, allocations: 12.62 MB / 0.548 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01125/0.5289, allocations: 2.704 MB / 0.5506 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.5418, allocations: 2.717 MB / 0.5533 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01196/0.5537, allocations: 5.136 MB / 0.5583 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0262/0.5799, allocations: 7.882 MB / 0.566 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04688/0.6268, allocations: 29.26 MB / 0.5945 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.6268, allocations: 0 / 0.5945 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6268, allocations: 0 / 0.5945 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001104/0.6279, allocations: 0 / 0.5945 GB, free: 11.69 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.1225/0.7505, allocations: 31.51 MB / 0.6253 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.7505, allocations: 18.56 kB / 0.6253 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.7624, allocations: 1.546 MB / 0.6268 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06736/0.8297, allocations: 18.76 MB / 0.6452 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/0.8308, allocations: 0.6295 MB / 0.6458 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006198/0.837, allocations: 0.823 MB / 0.6466 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04936/0.8864, allocations: 15.71 MB / 0.6619 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/0.8867, allocations: 23.75 kB / 0.6619 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004001/0.8907, allocations: 352.9 kB / 0.6623 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.8909, allocations: 212 kB / 0.6625 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04672/0.9376, allocations: 17.56 MB / 0.6796 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6654/1.603, allocations: 52.52 MB / 0.7309 GB, free: 151.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03834/1.641, allocations: 17.33 MB / 0.7478 GB, free: 150.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01537/1.657, allocations: 7.135 MB / 0.7548 GB, free: 148.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/1.657, allocations: 64.16 kB / 0.7549 GB, free: 148.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.657, allocations: 82.08 kB / 0.755 GB, free: 148.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.723e-06/1.657, allocations: 0 / 0.755 GB, free: 148.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05084/1.708, allocations: 21.92 MB / 0.7764 GB, free: 140.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.708, allocations: 99.55 kB / 0.7765 GB, free: 140.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03164/1.74, allocations: 13.6 MB / 0.7897 GB, free: 133.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00211/1.742, allocations: 117.7 kB / 0.7898 GB, free: 133.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006682/1.748, allocations: 6.295 MB / 0.796 GB, free: 128.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003169/1.752, allocations: 1.649 MB / 0.7976 GB, free: 126.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007256/1.759, allocations: 2.141 MB / 0.7997 GB, free: 124.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/1.759, allocations: 308.7 kB / 0.8 GB, free: 124.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01396/1.773, allocations: 7.656 MB / 0.8075 GB, free: 116.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01642/1.789, allocations: 8.836 MB / 0.8161 GB, free: 107.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02916/1.818, allocations: 14.39 MB / 0.8301 GB, free: 92.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.454e-05/1.818, allocations: 14.83 kB / 0.8302 GB, free: 92.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06708/1.886, allocations: 25.55 MB / 0.8551 GB, free: 67.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.886, allocations: 24.05 kB / 0.8551 GB, free: 67.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/1.886, allocations: 24 kB / 0.8552 GB, free: 67.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04864/1.934, allocations: 26.1 MB / 0.8806 GB, free: 40.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007599/1.942, allocations: 1.494 MB / 0.8821 GB, free: 39.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.449/2.391, allocations: 102.5 MB / 0.9822 GB, free: 158 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01947/2.41, allocations: 2.352 MB / 0.9845 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003098/2.413, allocations: 386.1 kB / 0.9849 GB, free: 157.6 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.01046/2.424, allocations: 4.565 MB / 0.9894 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004156/2.428, allocations: 1.105 MB / 0.9904 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03392/2.462, allocations: 17.45 MB / 1.007 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/2.462, allocations: 45.91 kB / 1.008 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.462, allocations: 0 / 1.008 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-05/2.462, allocations: 19.92 kB / 1.008 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06716/2.529, allocations: 29.68 MB / 1.037 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/2.529, allocations: 0 / 1.037 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/2.531, allocations: 454.8 kB / 1.037 GB, free: 124.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02393/2.555, allocations: 15.81 MB / 1.052 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002062/2.557, allocations: 115.9 kB / 1.053 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06522/2.622, allocations: 25.2 MB / 1.077 GB, free: 83.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.622, allocations: 0 / 1.077 GB, free: 83.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03666/2.659, allocations: 16.68 MB / 1.093 GB, free: 67.03 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007094/2.666, allocations: 2.664 MB / 1.096 GB, free: 64.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003578/2.669, allocations: 72 kB / 1.096 GB, free: 64.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01017/2.68, allocations: 1.315 MB / 1.097 GB, free: 63.03 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/2.68, allocations: 233.9 kB / 1.098 GB, free: 62.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009811/2.681, allocations: 149.7 kB / 1.098 GB, free: 62.66 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01719/2.698, allocations: 9.268 MB / 1.107 GB, free: 53.43 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.3e-07/2.698, allocations: 0 / 1.107 GB, free: 53.43 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01774/2.716, allocations: 3.098 MB / 1.11 GB, free: 50.5 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.001801/2.718, allocations: 202.2 kB / 1.11 GB, free: 50.32 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06961/2.788, allocations: 30.39 MB / 1.14 GB, free: 19.12 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.788, allocations: 3.844 kB / 1.14 GB, free: 19.12 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04866/2.836, allocations: 15.05 MB / 1.154 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01772/2.854, allocations: 2.624 MB / 1.157 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3271/3.181, allocations: 29.73 MB / 1.186 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01709/3.198, allocations: 8.204 MB / 1.194 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01116/3.209, allocations: 3.492 MB / 1.197 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/3.212, allocations: 0.5734 MB / 1.198 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/3.212, allocations: 0 / 1.198 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.2626/3.475, allocations: 183 MB / 1.377 GB, free: 16.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.56007766816765] Failed to read output from testmodel.py, exit status != 0: 3.483761077746749 3.664358979 2.865230439 Calling exit ...