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.00158/0.00158, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001839/0.001839, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.965 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.02955/0.02955, allocations: 5.488 MB / 317.9 MB, free: 13.7 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.002336/0.002336, allocations: 71.89 kB / 446.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 54.62 MB / 0.4895 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.00629/0.1283, allocations: 4.443 MB / 0.4939 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1312, allocations: 1.652 MB / 0.4955 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.1315, allocations: 11.94 kB / 0.4955 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000926/0.1324, allocations: 313 kB / 0.4958 GB, free: 6.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006309/0.1331, allocations: 254.3 kB / 0.4961 GB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.1336, allocations: 223.6 kB / 0.4963 GB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4323/0.5658, allocations: 25.77 MB / 0.5214 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006366/0.5722, allocations: 3.696 MB / 0.525 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.5843, allocations: 9.633 MB / 0.5344 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01935/0.6036, allocations: 10.91 MB / 0.5451 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007534/0.6112, allocations: 2.703 MB / 0.5477 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.6215, allocations: 2.721 MB / 0.5504 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01294/0.6345, allocations: 5.138 MB / 0.5554 GB, free: 236 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02046/0.6549, allocations: 9.576 MB / 0.5648 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.6912, allocations: 29.11 MB / 0.5932 GB, free: 12.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6912, allocations: 4 kB / 0.5932 GB, free: 12.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6912, allocations: 0 / 0.5932 GB, free: 12.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007188/0.692, allocations: 0 / 0.5932 GB, free: 12.28 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.1149/0.8069, allocations: 31.51 MB / 0.624 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8069, allocations: 16.03 kB / 0.624 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009123/0.8161, allocations: 1.542 MB / 0.6255 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05925/0.8753, allocations: 18.77 MB / 0.6438 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008106/0.8761, allocations: 0.6217 MB / 0.6444 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004586/0.8807, allocations: 0.8242 MB / 0.6452 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/0.9266, allocations: 15.68 MB / 0.6606 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003237/0.9269, allocations: 31.12 kB / 0.6606 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003873/0.9308, allocations: 348 kB / 0.6609 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.931, allocations: 212 kB / 0.6611 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04392/0.9749, allocations: 17.62 MB / 0.6783 GB, free: 4.953 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4639/1.439, allocations: 57.44 MB / 0.7344 GB, free: 150.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04508/1.484, allocations: 17.36 MB / 0.7514 GB, free: 149.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01357/1.498, allocations: 7.155 MB / 0.7584 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/1.498, allocations: 73.11 kB / 0.7584 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.091e-05/1.498, allocations: 77.58 kB / 0.7585 GB, free: 147.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 8.386e-06/1.498, allocations: 0 / 0.7585 GB, free: 147.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04231/1.54, allocations: 22.05 MB / 0.78 GB, free: 138.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/1.54, allocations: 98.92 kB / 0.7801 GB, free: 138.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02652/1.567, allocations: 15.37 MB / 0.7951 GB, free: 127.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001742/1.569, allocations: 109.7 kB / 0.7952 GB, free: 127.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005165/1.574, allocations: 6.209 MB / 0.8013 GB, free: 122.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002233/1.576, allocations: 1.658 MB / 0.8029 GB, free: 120.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004583/1.581, allocations: 2.141 MB / 0.805 GB, free: 118.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.209e-05/1.581, allocations: 301.1 kB / 0.8053 GB, free: 118.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01377/1.594, allocations: 7.652 MB / 0.8128 GB, free: 110.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01669/1.611, allocations: 8.839 MB / 0.8214 GB, free: 101.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02892/1.64, allocations: 14.39 MB / 0.8355 GB, free: 86.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.988e-05/1.64, allocations: 12 kB / 0.8355 GB, free: 86.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06361/1.704, allocations: 25.69 MB / 0.8606 GB, free: 61.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/1.704, allocations: 19.94 kB / 0.8606 GB, free: 61.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/1.704, allocations: 24.5 kB / 0.8606 GB, free: 61.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04956/1.753, allocations: 26.41 MB / 0.8864 GB, free: 34.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.761, allocations: 1.494 MB / 0.8878 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4616/2.222, allocations: 103.8 MB / 0.9892 GB, free: 153.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02041/2.243, allocations: 2.507 MB / 0.9917 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003773/2.247, allocations: 378.8 kB / 0.992 GB, free: 152.7 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.01176/2.258, allocations: 4.567 MB / 0.9965 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004637/2.263, allocations: 1.23 MB / 0.9977 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04045/2.303, allocations: 17.57 MB / 1.015 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-05/2.303, allocations: 43.25 kB / 1.015 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.303, allocations: 0 / 1.015 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.479e-05/2.303, allocations: 19.92 kB / 1.015 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07283/2.376, allocations: 32.45 MB / 1.047 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/2.376, allocations: 6.797 kB / 1.047 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/2.378, allocations: 455.1 kB / 1.047 GB, free: 114.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/2.405, allocations: 15.81 MB / 1.062 GB, free: 98.62 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001813/2.407, allocations: 115.9 kB / 1.063 GB, free: 98.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07254/2.479, allocations: 25.19 MB / 1.087 GB, free: 73.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.479, allocations: 4 kB / 1.087 GB, free: 73.37 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04008/2.519, allocations: 16.82 MB / 1.104 GB, free: 56.73 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01125/2.531, allocations: 2.862 MB / 1.106 GB, free: 53.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006067/2.537, allocations: 75.98 kB / 1.106 GB, free: 53.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01385/2.55, allocations: 1.311 MB / 1.108 GB, free: 52.54 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.552, allocations: 239 kB / 1.108 GB, free: 52.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001846/2.553, allocations: 143.9 kB / 1.108 GB, free: 52.16 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02387/2.577, allocations: 10.61 MB / 1.118 GB, free: 41.59 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.21e-07/2.577, allocations: 0 / 1.118 GB, free: 41.59 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01645/2.594, allocations: 2.963 MB / 1.121 GB, free: 38.74 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.001802/2.596, allocations: 198.8 kB / 1.122 GB, free: 38.54 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07644/2.672, allocations: 30.39 MB / 1.151 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/2.672, allocations: 3.656 kB / 1.151 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05732/2.729, allocations: 15.04 MB / 1.166 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2786/3.008, allocations: 3.137 MB / 1.169 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06948/3.077, allocations: 30.1 MB / 1.198 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/3.087, allocations: 8.562 MB / 1.207 GB, free: 176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01287/3.1, allocations: 3.781 MB / 1.21 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003224/3.104, allocations: 0.6304 MB / 1.211 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.403e-06/3.104, allocations: 2.438 kB / 1.211 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.6637/3.767, allocations: 210.6 MB / 1.417 GB, free: 165.6 MB / 0.5919 GB " [Timeout remaining time 656] 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: 17.126071197912097] Failed to read output from testmodel.py, exit status != 0: 3.7770730720367283 3.787888296 3.0939421 Calling exit ...