Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001488/0.001488, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001703/0.001703, allocations: 221 kB / 23 MB, free: 4.918 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.02907/0.02907, allocations: 5.477 MB / 318.7 MB, free: 13.59 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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [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.001951/0.001951, allocations: 63.91 kB / 447.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.09017, allocations: 54.61 MB / 0.4902 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005301/0.09548, allocations: 4.009 MB / 0.4941 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.09782, allocations: 1.523 MB / 0.4956 GB, free: 6.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.09802, allocations: 15.88 kB / 0.4956 GB, free: 6.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.09872, allocations: 289.1 kB / 0.4959 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.09917, allocations: 246.4 kB / 0.4961 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.09956, allocations: 223.6 kB / 0.4963 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3349/0.4344, allocations: 25.76 MB / 0.5215 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005768/0.4402, allocations: 3.758 MB / 0.5252 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.4514, allocations: 9.754 MB / 0.5347 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01995/0.4714, allocations: 12.6 MB / 0.547 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007825/0.4792, allocations: 2.702 MB / 0.5496 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009866/0.4891, allocations: 2.721 MB / 0.5523 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008642/0.4977, allocations: 5.134 MB / 0.5573 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01872/0.5164, allocations: 7.889 MB / 0.565 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03603/0.5525, allocations: 29.26 MB / 0.5936 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5525, allocations: 0 / 0.5936 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5525, allocations: 1.594 kB / 0.5936 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000812/0.5533, allocations: 0 / 0.5936 GB, free: 12.62 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.1011/0.6544, allocations: 31.51 MB / 0.6244 GB, free: 13.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6544, allocations: 19.97 kB / 0.6244 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/0.6617, allocations: 1.542 MB / 0.6259 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05282/0.7145, allocations: 18.77 MB / 0.6442 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007519/0.7153, allocations: 0.6256 MB / 0.6448 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00434/0.7196, allocations: 0.8163 MB / 0.6456 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/0.762, allocations: 15.72 MB / 0.661 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003353/0.7624, allocations: 24.03 kB / 0.661 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003449/0.7658, allocations: 355.9 kB / 0.6613 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.766, allocations: 212 kB / 0.6615 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04079/0.8068, allocations: 17.56 MB / 0.6787 GB, free: 5.312 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/0.9216, allocations: 52.51 MB / 0.73 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2307/1.152, allocations: 17.31 MB / 0.7469 GB, free: 158.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/1.164, allocations: 7.135 MB / 0.7538 GB, free: 156.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/1.165, allocations: 60.34 kB / 0.7539 GB, free: 156.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.165, allocations: 81.14 kB / 0.754 GB, free: 156.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.793e-06/1.165, allocations: 1.25 kB / 0.754 GB, free: 156.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04009/1.205, allocations: 21.93 MB / 0.7754 GB, free: 148.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.205, allocations: 100 kB / 0.7755 GB, free: 148.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02239/1.227, allocations: 13.6 MB / 0.7888 GB, free: 137.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/1.229, allocations: 109.7 kB / 0.7889 GB, free: 137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00492/1.234, allocations: 6.28 MB / 0.795 GB, free: 132.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.236, allocations: 1.658 MB / 0.7966 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006138/1.242, allocations: 2.141 MB / 0.7987 GB, free: 128.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/1.242, allocations: 310 kB / 0.799 GB, free: 128.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01276/1.255, allocations: 7.648 MB / 0.8065 GB, free: 120.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/1.269, allocations: 8.843 MB / 0.8151 GB, free: 111.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02506/1.294, allocations: 14.39 MB / 0.8292 GB, free: 96.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/1.294, allocations: 4.688 kB / 0.8292 GB, free: 96.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05175/1.346, allocations: 25.57 MB / 0.8541 GB, free: 70.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/1.346, allocations: 16.94 kB / 0.8541 GB, free: 70.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/1.346, allocations: 24 kB / 0.8542 GB, free: 70.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04226/1.388, allocations: 26.41 MB / 0.88 GB, free: 44.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006107/1.395, allocations: 1.494 MB / 0.8814 GB, free: 42.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3263/1.721, allocations: 102.5 MB / 0.9815 GB, free: 159.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/1.736, allocations: 2.353 MB / 0.9838 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/1.739, allocations: 383.5 kB / 0.9842 GB, free: 159.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.007692/1.746, allocations: 4.566 MB / 0.9887 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/1.749, allocations: 1.108 MB / 0.9898 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02805/1.777, allocations: 17.44 MB / 1.007 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/1.777, allocations: 41.66 kB / 1.007 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.777, allocations: 0 / 1.007 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-05/1.777, allocations: 29.95 kB / 1.007 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06375/1.841, allocations: 29.68 MB / 1.036 GB, free: 127.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.841, allocations: 0 / 1.036 GB, free: 127.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.843, allocations: 450.8 kB / 1.036 GB, free: 127.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02197/1.865, allocations: 15.8 MB / 1.052 GB, free: 111.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/1.866, allocations: 115.9 kB / 1.052 GB, free: 111.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05996/1.926, allocations: 25.21 MB / 1.076 GB, free: 86.32 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.926, allocations: 0 / 1.076 GB, free: 86.32 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02875/1.954, allocations: 16.68 MB / 1.093 GB, free: 70.12 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008135/1.963, allocations: 2.67 MB / 1.095 GB, free: 67.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003398/1.966, allocations: 68 kB / 1.095 GB, free: 67.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009828/1.976, allocations: 1.314 MB / 1.097 GB, free: 66.12 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/1.976, allocations: 231 kB / 1.097 GB, free: 65.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009095/1.977, allocations: 143.9 kB / 1.097 GB, free: 65.76 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01526/1.993, allocations: 9.276 MB / 1.106 GB, free: 56.52 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.51e-07/1.993, allocations: 0 / 1.106 GB, free: 56.52 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01285/2.005, allocations: 3.101 MB / 1.109 GB, free: 53.59 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.001497/2.007, allocations: 198.9 kB / 1.109 GB, free: 53.41 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06611/2.073, allocations: 30.39 MB / 1.139 GB, free: 22.23 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/2.073, allocations: 448 / 1.139 GB, free: 22.23 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04588/2.119, allocations: 15.05 MB / 1.154 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/2.134, allocations: 2.624 MB / 1.156 GB, free: 4.598 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2752/2.409, allocations: 29.84 MB / 1.185 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01498/2.424, allocations: 8.176 MB / 1.193 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/2.427, allocations: 0.609 MB / 1.194 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/2.427, allocations: 0 / 1.194 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of Templates: time 3.551/5.978, allocations: 1.992 GB / 3.186 GB, free: 30.65 MB / 0.6232 GB " [Timeout remaining time 654] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 34.90496758790687] Failed to read output from testmodel.py, exit status != 0: 5.985450862906873 5.994889401 5.440082195 Calling exit ...