Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.001723/0.001723, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002208/0.002208, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8 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.02872/0.02872, allocations: 5.48 MB / 318.7 MB, free: 13.75 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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="cs",version="2.0",platforms={"static"}) [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.00194/0.00194, allocations: 59.91 kB / 447 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 54.63 MB / 0.4898 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004939/0.1141, allocations: 3.493 MB / 0.4933 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1164, allocations: 1.32 MB / 0.4945 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.1167, allocations: 4 kB / 0.4945 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.1173, allocations: 238.6 kB / 0.4948 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.1177, allocations: 170.8 kB / 0.4949 GB, free: 8.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.118, allocations: 115.8 kB / 0.495 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.1186, allocations: 0.5798 MB / 0.4956 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1188, allocations: 92.52 kB / 0.4957 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1191, allocations: 227.2 kB / 0.4959 GB, free: 6.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1195, allocations: 255 kB / 0.4962 GB, free: 6.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.1196, allocations: 52 kB / 0.4962 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1197, allocations: 79.98 kB / 0.4963 GB, free: 6.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.1198, allocations: 111.6 kB / 0.4964 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1201, allocations: 234.8 kB / 0.4966 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.1207, allocations: 0.5486 MB / 0.4972 GB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1207, allocations: 4 kB / 0.4972 GB, free: 5.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1207, allocations: 0 / 0.4972 GB, free: 5.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1207, allocations: 4 kB / 0.4972 GB, free: 5.715 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001955/0.1227, allocations: 0.7501 MB / 0.4979 GB, free: 4.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1227, allocations: 8.031 kB / 0.4979 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.349e-05/0.1228, allocations: 8.688 kB / 0.4979 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.623e-05/0.1228, allocations: 70.66 kB / 0.498 GB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1229, allocations: 44.66 kB / 0.498 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1241, allocations: 443.4 kB / 0.4984 GB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1242, allocations: 16.5 kB / 0.4985 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1242, allocations: 24 kB / 0.4985 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.1249, allocations: 328.3 kB / 0.4988 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1249, allocations: 0 / 0.4988 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1249, allocations: 8 kB / 0.4988 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1249, allocations: 15.94 kB / 0.4988 GB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.1256, allocations: 277.8 kB / 0.4991 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.1281, allocations: 1.284 MB / 0.5003 GB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.1287, allocations: 213.4 kB / 0.5005 GB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.1291, allocations: 132.8 kB / 0.5007 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1292, allocations: 4 kB / 0.5007 GB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1292, allocations: 34.56 kB / 0.5007 GB, free: 1.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.1292, allocations: 0 / 0.5007 GB, free: 1.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002273/0.1315, allocations: 0.5137 MB / 0.5012 GB, free: 1.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.1315, allocations: 55.41 kB / 0.5013 GB, free: 1.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.132, allocations: 385.6 kB / 0.5016 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.132, allocations: 29.7 kB / 0.5017 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1322, allocations: 220.2 kB / 0.5019 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1322, allocations: 59.52 kB / 0.5019 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1324, allocations: 61.64 kB / 0.502 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1325, allocations: 346.8 kB / 0.5023 GB, free: 208 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.1328, allocations: 115.9 kB / 0.5024 GB, free: 92 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.1332, allocations: 156 kB / 0.5026 GB, free: 15.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.1338, allocations: 248.7 kB / 0.5028 GB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1338, allocations: 0 / 0.5028 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001301/0.1351, allocations: 469.1 kB / 0.5033 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1352, allocations: 6.188 kB / 0.5033 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1352, allocations: 4 kB / 0.5033 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/0.1361, allocations: 257.5 kB / 0.5035 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1363, allocations: 51.91 kB / 0.5036 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.1389, allocations: 2.136 MB / 0.5056 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.1393, allocations: 47.81 kB / 0.5057 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.1393, allocations: 12 kB / 0.5057 GB, free: 12.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.1395, allocations: 145.8 kB / 0.5058 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.1396, allocations: 39.7 kB / 0.5059 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.1397, allocations: 47.11 kB / 0.5059 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1397, allocations: 4 kB / 0.5059 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1397, allocations: 0 / 0.5059 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1397, allocations: 0 / 0.5059 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.1414, allocations: 0.7604 MB / 0.5067 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1414, allocations: 4 kB / 0.5067 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1415, allocations: 19.98 kB / 0.5067 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.1419, allocations: 188.8 kB / 0.5069 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.142, allocations: 0 / 0.5069 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008072/0.1428, allocations: 0.6694 MB / 0.5075 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1428, allocations: 4.062 kB / 0.5075 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1439, allocations: 436.7 kB / 0.5079 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.144, allocations: 63.66 kB / 0.508 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.144, allocations: 4 kB / 0.508 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1443, allocations: 19.98 kB / 0.508 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.1444, allocations: 15.97 kB / 0.508 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1444, allocations: 4 kB / 0.508 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.1447, allocations: 275.2 kB / 0.5083 GB, free: 9.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1447, allocations: 0 / 0.5083 GB, free: 9.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.1451, allocations: 75.89 kB / 0.5084 GB, free: 9.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.1465, allocations: 0.9825 MB / 0.5093 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009955/0.1475, allocations: 391.4 kB / 0.5097 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1475, allocations: 0 / 0.5097 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1478, allocations: 100 kB / 0.5098 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.1484, allocations: 85.12 kB / 0.5099 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.1544, allocations: 3.462 MB / 0.5133 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1548, allocations: 0.7834 MB / 0.514 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1549, allocations: 43.27 kB / 0.5141 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1551, allocations: 119.4 kB / 0.5142 GB, free: 3.551 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1551, allocations: 0 / 0.5142 GB, free: 3.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.234/0.3891, allocations: 9.277 MB / 0.5233 GB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.97, allocations: 9.312 kB / 0.5233 GB, free: 32.65 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.593355825985782] Failed to read output from testmodel.py, exit status != 0: 13.137277737958357 13.157481477 13.033031489 Calling exit ...