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.001842/0.001842, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002204/0.002204, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.03271/0.03271, allocations: 5.496 MB / 318.7 MB, free: 13.74 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.002116/0.002116, allocations: 79.88 kB / 447.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09757, allocations: 54.61 MB / 0.4903 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.0062/0.1038, allocations: 4.454 MB / 0.4946 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.1067, allocations: 1.644 MB / 0.4962 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.1072, allocations: 11.94 kB / 0.4963 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.1081, allocations: 317 kB / 0.4966 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.1087, allocations: 246.4 kB / 0.4968 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.1093, allocations: 231.5 kB / 0.497 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.366/0.4753, allocations: 25.77 MB / 0.5222 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005973/0.4812, allocations: 3.696 MB / 0.5258 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4924, allocations: 9.632 MB / 0.5352 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01871/0.5111, allocations: 10.91 MB / 0.5458 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007407/0.5185, allocations: 2.706 MB / 0.5485 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009583/0.5281, allocations: 2.718 MB / 0.5511 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008115/0.5362, allocations: 5.145 MB / 0.5562 GB, free: 300 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01917/0.5553, allocations: 9.569 MB / 0.5655 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03684/0.5922, allocations: 29.12 MB / 0.594 GB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5922, allocations: 0 / 0.594 GB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5922, allocations: 0 / 0.594 GB, free: 12.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006715/0.5929, allocations: 0 / 0.594 GB, free: 12.4 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.1136/0.7065, allocations: 31.52 MB / 0.6247 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.7065, allocations: 8.031 kB / 0.6247 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.7135, allocations: 1.542 MB / 0.6262 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05832/0.7718, allocations: 18.77 MB / 0.6446 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007923/0.7726, allocations: 0.6256 MB / 0.6452 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/0.7766, allocations: 0.8163 MB / 0.646 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03964/0.8163, allocations: 15.69 MB / 0.6613 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002818/0.8166, allocations: 21.22 kB / 0.6613 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/0.8192, allocations: 348 kB / 0.6617 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/0.8195, allocations: 212 kB / 0.6619 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04463/0.8641, allocations: 17.61 MB / 0.6791 GB, free: 5.082 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3467/1.211, allocations: 57.46 MB / 0.7352 GB, free: 150.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03427/1.245, allocations: 17.36 MB / 0.7521 GB, free: 149.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/1.258, allocations: 7.157 MB / 0.7591 GB, free: 147.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/1.258, allocations: 67.34 kB / 0.7592 GB, free: 147.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/1.258, allocations: 81.48 kB / 0.7593 GB, free: 147.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.252e-06/1.258, allocations: 0 / 0.7593 GB, free: 147.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04475/1.303, allocations: 22.05 MB / 0.7808 GB, free: 138.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/1.303, allocations: 98.92 kB / 0.7809 GB, free: 138.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0284/1.331, allocations: 15.36 MB / 0.7959 GB, free: 127.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001632/1.333, allocations: 109.7 kB / 0.796 GB, free: 127.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006542/1.339, allocations: 6.207 MB / 0.802 GB, free: 122.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/1.342, allocations: 1.656 MB / 0.8037 GB, free: 121.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008441/1.35, allocations: 2.145 MB / 0.8058 GB, free: 118.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/1.35, allocations: 309.1 kB / 0.8061 GB, free: 118.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01404/1.364, allocations: 7.644 MB / 0.8135 GB, free: 111 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/1.38, allocations: 8.842 MB / 0.8222 GB, free: 101.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02794/1.408, allocations: 14.38 MB / 0.8362 GB, free: 87.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.231e-05/1.408, allocations: 8 kB / 0.8362 GB, free: 87.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06433/1.473, allocations: 25.69 MB / 0.8613 GB, free: 61.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/1.473, allocations: 20.91 kB / 0.8613 GB, free: 61.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/1.473, allocations: 20 kB / 0.8613 GB, free: 61.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04784/1.52, allocations: 26.41 MB / 0.8871 GB, free: 34.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00666/1.527, allocations: 1.494 MB / 0.8886 GB, free: 33.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3506/1.878, allocations: 103.8 MB / 0.99 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01601/1.894, allocations: 2.512 MB / 0.9924 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.895, allocations: 390.2 kB / 0.9928 GB, free: 152.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.007241/1.902, allocations: 4.561 MB / 0.9972 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002647/1.905, allocations: 1.236 MB / 0.9984 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02994/1.935, allocations: 17.56 MB / 1.016 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.935, allocations: 43.91 kB / 1.016 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.935, allocations: 0 / 1.016 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/1.935, allocations: 19.92 kB / 1.016 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05895/1.994, allocations: 32.45 MB / 1.047 GB, free: 115 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.994, allocations: 0 / 1.047 GB, free: 115 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.996, allocations: 459 kB / 1.048 GB, free: 114.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02401/2.02, allocations: 15.81 MB / 1.063 GB, free: 98.78 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009773/2.021, allocations: 111.9 kB / 1.063 GB, free: 98.67 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0649/2.086, allocations: 25.19 MB / 1.088 GB, free: 73.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.086, allocations: 3.938 kB / 1.088 GB, free: 73.53 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02894/2.114, allocations: 16.82 MB / 1.104 GB, free: 56.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008166/2.123, allocations: 2.858 MB / 1.107 GB, free: 54.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003411/2.126, allocations: 75.98 kB / 1.107 GB, free: 54.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/2.136, allocations: 1.318 MB / 1.109 GB, free: 52.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/2.137, allocations: 235 kB / 1.109 GB, free: 52.46 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005106/2.137, allocations: 143.9 kB / 1.109 GB, free: 52.32 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01566/2.153, allocations: 10.61 MB / 1.119 GB, free: 41.75 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/2.153, allocations: 0 / 1.119 GB, free: 41.75 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00928/2.162, allocations: 2.969 MB / 1.122 GB, free: 38.9 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.0007251/2.163, allocations: 198.3 kB / 1.122 GB, free: 38.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07227/2.235, allocations: 30.39 MB / 1.152 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.235, allocations: 0 / 1.152 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05626/2.291, allocations: 15.05 MB / 1.167 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2192/2.511, allocations: 3.142 MB / 1.17 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05369/2.564, allocations: 30.22 MB / 1.199 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006697/2.571, allocations: 8.533 MB / 1.208 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/2.574, allocations: 0.6662 MB / 1.208 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/2.574, allocations: 0 / 1.208 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of Templates: time 3.587/6.16, allocations: 1.998 GB / 3.206 GB, free: 192.9 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: 39.37163188192062] Failed to read output from testmodel.py, exit status != 0: 6.169256783090532 6.182802229 5.587657851 Calling exit ...