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.001526/0.001526, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001738/0.001738, allocations: 222.1 kB / 23 MB, free: 4.91 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.02862/0.02862, allocations: 5.488 MB / 318.7 MB, free: 13.56 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.002652/0.002652, allocations: 67.89 kB / 448.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1111, allocations: 54.63 MB / 0.4917 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005621/0.1167, allocations: 4.002 MB / 0.4956 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1196, allocations: 1.523 MB / 0.4971 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.1199, allocations: 11.94 kB / 0.4971 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.1207, allocations: 305 kB / 0.4974 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.1213, allocations: 254.3 kB / 0.4977 GB, free: 4.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.1217, allocations: 223.6 kB / 0.4979 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2185/0.3402, allocations: 25.77 MB / 0.523 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005705/0.3459, allocations: 3.758 MB / 0.5267 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.3574, allocations: 9.757 MB / 0.5362 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01984/0.3773, allocations: 12.61 MB / 0.5486 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008532/0.3858, allocations: 2.702 MB / 0.5512 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.397, allocations: 2.722 MB / 0.5539 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008987/0.406, allocations: 5.131 MB / 0.5589 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01952/0.4255, allocations: 7.891 MB / 0.5666 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0347/0.4603, allocations: 29.26 MB / 0.5951 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4603, allocations: 2.625 kB / 0.5951 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4603, allocations: 0 / 0.5951 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007053/0.461, allocations: 2.531 kB / 0.5951 GB, free: 11.81 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.1043/0.5653, allocations: 31.52 MB / 0.6259 GB, free: 12.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5653, allocations: 12.03 kB / 0.6259 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008102/0.5734, allocations: 1.542 MB / 0.6274 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05571/0.6291, allocations: 18.77 MB / 0.6458 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008929/0.63, allocations: 0.6256 MB / 0.6464 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004501/0.6345, allocations: 0.8163 MB / 0.6472 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04368/0.6782, allocations: 15.72 MB / 0.6625 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003935/0.6786, allocations: 25.41 kB / 0.6626 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003993/0.6826, allocations: 344 kB / 0.6629 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.6828, allocations: 212 kB / 0.6631 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0429/0.7257, allocations: 17.57 MB / 0.6802 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.525/1.251, allocations: 52.49 MB / 0.7315 GB, free: 151.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03329/1.284, allocations: 17.33 MB / 0.7484 GB, free: 150.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/1.296, allocations: 7.126 MB / 0.7554 GB, free: 147.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/1.296, allocations: 67.17 kB / 0.7554 GB, free: 147.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.296, allocations: 80.61 kB / 0.7555 GB, free: 147.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.973e-06/1.296, allocations: 0 / 0.7555 GB, free: 147.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04307/1.339, allocations: 21.92 MB / 0.7769 GB, free: 140.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.339, allocations: 96.14 kB / 0.777 GB, free: 140.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.023/1.362, allocations: 13.61 MB / 0.7903 GB, free: 133.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002186/1.364, allocations: 113.7 kB / 0.7904 GB, free: 133.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005304/1.37, allocations: 6.294 MB / 0.7966 GB, free: 128.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002388/1.372, allocations: 1.658 MB / 0.7982 GB, free: 126.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004319/1.376, allocations: 2.143 MB / 0.8003 GB, free: 124.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/1.376, allocations: 304.9 kB / 0.8006 GB, free: 124.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01133/1.388, allocations: 7.652 MB / 0.808 GB, free: 116.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.401, allocations: 8.838 MB / 0.8167 GB, free: 107.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/1.426, allocations: 14.39 MB / 0.8307 GB, free: 92.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-05/1.426, allocations: 8 kB / 0.8307 GB, free: 92.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05555/1.481, allocations: 25.56 MB / 0.8557 GB, free: 67.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/1.481, allocations: 18.5 kB / 0.8557 GB, free: 67.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/1.482, allocations: 24 kB / 0.8557 GB, free: 67.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04368/1.525, allocations: 26.1 MB / 0.8812 GB, free: 40.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006533/1.532, allocations: 1.494 MB / 0.8827 GB, free: 39.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3586/1.89, allocations: 102.5 MB / 0.9828 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01743/1.908, allocations: 2.349 MB / 0.9851 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002738/1.911, allocations: 388.4 kB / 0.9855 GB, free: 157.4 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.009103/1.92, allocations: 4.56 MB / 0.9899 GB, free: 155.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003028/1.923, allocations: 1.107 MB / 0.991 GB, free: 155.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02992/1.953, allocations: 17.45 MB / 1.008 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1.953, allocations: 53.48 kB / 1.008 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.953, allocations: 0.9375 kB / 1.008 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/1.953, allocations: 19.92 kB / 1.008 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06823/2.021, allocations: 29.67 MB / 1.037 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/2.021, allocations: 0 / 1.037 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/2.023, allocations: 460.2 kB / 1.038 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0233/2.046, allocations: 15.8 MB / 1.053 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/2.048, allocations: 123.5 kB / 1.053 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06162/2.109, allocations: 25.2 MB / 1.078 GB, free: 83.51 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/2.109, allocations: 4 kB / 1.078 GB, free: 83.51 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03207/2.141, allocations: 16.68 MB / 1.094 GB, free: 67.29 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009685/2.151, allocations: 2.664 MB / 1.097 GB, free: 64.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00466/2.156, allocations: 76 kB / 1.097 GB, free: 64.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0106/2.166, allocations: 1.311 MB / 1.098 GB, free: 63.29 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/2.167, allocations: 231 kB / 1.098 GB, free: 63.07 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001272/2.168, allocations: 147.9 kB / 1.098 GB, free: 62.92 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01694/2.185, allocations: 9.272 MB / 1.107 GB, free: 53.69 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.01e-07/2.185, allocations: 0 / 1.107 GB, free: 53.69 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01365/2.199, allocations: 3.103 MB / 1.11 GB, free: 50.76 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.00157/2.2, allocations: 195.4 kB / 1.111 GB, free: 50.58 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06677/2.267, allocations: 30.39 MB / 1.14 GB, free: 19.39 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.267, allocations: 3.656 kB / 1.14 GB, free: 19.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04518/2.312, allocations: 15.04 MB / 1.155 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01583/2.328, allocations: 2.626 MB / 1.158 GB, free: 1.754 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2593/2.587, allocations: 29.86 MB / 1.187 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/2.601, allocations: 8.18 MB / 1.195 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/2.603, allocations: 0.6063 MB / 1.195 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/2.603, allocations: 0 / 1.195 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of Templates: time 3.423/6.026, allocations: 1.992 GB / 3.187 GB, free: 28.73 MB / 0.6232 GB " [Timeout remaining time 654] 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: 35.41097510512918] Failed to read output from testmodel.py, exit status != 0: 6.03551576891914 6.213391054 5.750007479 Calling exit ...