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.001441/0.001441, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001717/0.001717, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.789 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.03085/0.03085, allocations: 5.493 MB / 317.9 MB, free: 13.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",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.002216/0.002216, allocations: 68.19 kB / 446.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1046, allocations: 54.62 MB / 0.489 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005153/0.1098, allocations: 3.204 MB / 0.4921 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1121, allocations: 1.211 MB / 0.4933 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.1124, allocations: 7.938 kB / 0.4933 GB, free: 8.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.1131, allocations: 210.7 kB / 0.4935 GB, free: 8.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.1136, allocations: 166.8 kB / 0.4936 GB, free: 8.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1139, allocations: 131.8 kB / 0.4938 GB, free: 7.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.1147, allocations: 0.5721 MB / 0.4943 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.115, allocations: 80.58 kB / 0.4944 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1153, allocations: 227.1 kB / 0.4946 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.1157, allocations: 227 kB / 0.4948 GB, free: 6.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1158, allocations: 59.98 kB / 0.4949 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.116, allocations: 71.98 kB / 0.495 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1161, allocations: 111.6 kB / 0.4951 GB, free: 6.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1164, allocations: 195.1 kB / 0.4953 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.1171, allocations: 0.5564 MB / 0.4958 GB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1171, allocations: 4 kB / 0.4958 GB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1171, allocations: 0 / 0.4958 GB, free: 5.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.1172, allocations: 0 / 0.4958 GB, free: 5.891 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.002273/0.1194, allocations: 0.7578 MB / 0.4965 GB, free: 5.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1195, allocations: 12.03 kB / 0.4966 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.532e-05/0.1196, allocations: 58.67 kB / 0.4966 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1197, allocations: 48.66 kB / 0.4967 GB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.121, allocations: 439.7 kB / 0.4971 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.1211, allocations: 24.38 kB / 0.4971 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1211, allocations: 24 kB / 0.4971 GB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.1218, allocations: 346.1 kB / 0.4975 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1218, allocations: 4 kB / 0.4975 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.1219, allocations: 8 kB / 0.4975 GB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1219, allocations: 8 kB / 0.4975 GB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.1226, allocations: 273.8 kB / 0.4977 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.1253, allocations: 1.214 MB / 0.4989 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.1259, allocations: 214.5 kB / 0.4991 GB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.1264, allocations: 132.8 kB / 0.4993 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1264, allocations: 0 / 0.4993 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1264, allocations: 34.56 kB / 0.4993 GB, free: 2.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.1264, allocations: 3.938 kB / 0.4993 GB, free: 2.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002403/0.1288, allocations: 0.5099 MB / 0.4998 GB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1289, allocations: 55.41 kB / 0.4998 GB, free: 1.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.1294, allocations: 397.5 kB / 0.5002 GB, free: 1.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1295, allocations: 25.7 kB / 0.5002 GB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1297, allocations: 228.1 kB / 0.5005 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1297, allocations: 55.53 kB / 0.5005 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1298, allocations: 65.67 kB / 0.5006 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.13, allocations: 338.8 kB / 0.5009 GB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.1304, allocations: 119.9 kB / 0.501 GB, free: 316 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.1307, allocations: 156.1 kB / 0.5012 GB, free: 144 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.1314, allocations: 252.7 kB / 0.5014 GB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1314, allocations: 0 / 0.5014 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001393/0.1328, allocations: 465.2 kB / 0.5018 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1328, allocations: 4 kB / 0.5019 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1328, allocations: 0 / 0.5019 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/0.1338, allocations: 265.5 kB / 0.5021 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.134, allocations: 43.98 kB / 0.5021 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.1366, allocations: 2.124 MB / 0.5042 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.137, allocations: 47.91 kB / 0.5043 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.137, allocations: 12 kB / 0.5043 GB, free: 12.78 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.0002053/0.1372, allocations: 145.8 kB / 0.5044 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.1373, allocations: 43.69 kB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.1374, allocations: 35.19 kB / 0.5045 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1374, allocations: 8.094 kB / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1374, allocations: 3.984 kB / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1374, allocations: 0 / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1391, allocations: 0.7284 MB / 0.5052 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1391, allocations: 4 kB / 0.5052 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1393, allocations: 23.92 kB / 0.5052 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/0.1397, allocations: 180.8 kB / 0.5054 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1397, allocations: 0 / 0.5054 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008389/0.1406, allocations: 0.6694 MB / 0.5061 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1406, allocations: 0 / 0.5061 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1417, allocations: 440.8 kB / 0.5065 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.1418, allocations: 59.72 kB / 0.5065 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.1419, allocations: 4 kB / 0.5066 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1422, allocations: 24.03 kB / 0.5066 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1422, allocations: 15.95 kB / 0.5066 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1423, allocations: 4 kB / 0.5066 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.1426, allocations: 279.1 kB / 0.5069 GB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1426, allocations: 0 / 0.5069 GB, free: 10.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.143, allocations: 79.83 kB / 0.5069 GB, free: 9.949 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.001468/0.1444, allocations: 0.986 MB / 0.5079 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1455, allocations: 387.4 kB / 0.5083 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1455, allocations: 4.062 kB / 0.5083 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.1458, allocations: 99.86 kB / 0.5084 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1464, allocations: 85.47 kB / 0.5084 GB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.1524, allocations: 3.457 MB / 0.5118 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.1526, allocations: 178.5 kB / 0.512 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1528, allocations: 43.25 kB / 0.512 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.153, allocations: 123.4 kB / 0.5122 GB, free: 4.426 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.153, allocations: 4 kB / 0.5122 GB, free: 4.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/0.3818, allocations: 9.452 MB / 0.5214 GB, free: 31.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.54, allocations: 8.391 kB / 0.5214 GB, free: 31.82 MB / 382.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.39933212613687] Failed to read output from testmodel.py, exit status != 0: 13.689116660039872 13.703348966 13.583434047 Calling exit ...