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.001292/0.001292, allocations: 103 kB / 16.45 MB, free: 6.449 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.001461/0.001461, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.04145/0.04145, allocations: 5.478 MB / 314.3 MB, free: 14.93 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.002903/0.002903, allocations: 63.91 kB / 440.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1326, allocations: 54.58 MB / 495.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005044/0.1377, allocations: 3.452 MB / 498.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.14, allocations: 1.32 MB / 500 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.1403, allocations: 7.938 kB / 500 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.1409, allocations: 246.6 kB / 0.4885 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.1414, allocations: 162.8 kB / 0.4886 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1416, allocations: 123.8 kB / 0.4888 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000646/0.1422, allocations: 0.5837 MB / 0.4893 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.1424, allocations: 80.11 kB / 0.4894 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.1427, allocations: 227.1 kB / 0.4896 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.143, allocations: 266.9 kB / 0.4899 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.1431, allocations: 52 kB / 0.4899 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1433, allocations: 72 kB / 0.49 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1434, allocations: 115.6 kB / 0.4901 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.1436, allocations: 230.8 kB / 0.4903 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.1443, allocations: 0.5409 MB / 0.4908 GB, free: 9.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1443, allocations: 4 kB / 0.4909 GB, free: 9.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1443, allocations: 0 / 0.4909 GB, free: 9.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1443, allocations: 0 / 0.4909 GB, free: 9.672 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.002104/0.1464, allocations: 0.8371 MB / 0.4917 GB, free: 8.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1464, allocations: 8.031 kB / 0.4917 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.1465, allocations: 62.72 kB / 0.4917 GB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1466, allocations: 44.66 kB / 0.4918 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.1479, allocations: 0.495 MB / 0.4923 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1479, allocations: 24.5 kB / 0.4923 GB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1479, allocations: 24 kB / 0.4923 GB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.1486, allocations: 321.4 kB / 0.4926 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1486, allocations: 0 / 0.4926 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.1487, allocations: 8 kB / 0.4926 GB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1487, allocations: 11.94 kB / 0.4926 GB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.1495, allocations: 278.1 kB / 0.4929 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.152, allocations: 1.323 MB / 0.4942 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.1527, allocations: 295.6 kB / 0.4945 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.1531, allocations: 140.7 kB / 0.4946 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1532, allocations: 0 / 0.4946 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1532, allocations: 38.56 kB / 0.4946 GB, free: 5.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1532, allocations: 0 / 0.4946 GB, free: 5.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.00252/0.1557, allocations: 0.5915 MB / 0.4952 GB, free: 4.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1558, allocations: 51.41 kB / 0.4953 GB, free: 4.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.1563, allocations: 389.6 kB / 0.4956 GB, free: 4.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.1563, allocations: 37.7 kB / 0.4957 GB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1565, allocations: 224.1 kB / 0.4959 GB, free: 4.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1566, allocations: 51.56 kB / 0.4959 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1567, allocations: 65.64 kB / 0.496 GB, free: 4.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1569, allocations: 346.8 kB / 0.4963 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.1572, allocations: 111.9 kB / 0.4964 GB, free: 3.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1576, allocations: 156.1 kB / 0.4966 GB, free: 3.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.1583, allocations: 248 kB / 0.4968 GB, free: 3.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1583, allocations: 0 / 0.4968 GB, free: 3.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001359/0.1596, allocations: 465.1 kB / 0.4973 GB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1596, allocations: 8 kB / 0.4973 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1597, allocations: 0 / 0.4973 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009711/0.1606, allocations: 253.6 kB / 0.4975 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1609, allocations: 51.91 kB / 0.4976 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.1636, allocations: 2.236 MB / 0.4998 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.164, allocations: 39.81 kB / 0.4998 GB, free: 0 / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.1641, allocations: 8.047 kB / 0.4998 GB, free: 15.99 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.000221/0.1643, allocations: 153.8 kB / 0.4999 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.1644, allocations: 43.64 kB / 0.5 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/0.1645, allocations: 35.25 kB / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1645, allocations: 4 kB / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1645, allocations: 0 / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1645, allocations: 0 / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1662, allocations: 0.7964 MB / 0.5008 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.1662, allocations: 12.11 kB / 0.5008 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1664, allocations: 19.98 kB / 0.5008 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.1668, allocations: 172.7 kB / 0.501 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1669, allocations: 4 kB / 0.501 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008809/0.1677, allocations: 0.6772 MB / 0.5017 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1677, allocations: 0 / 0.5017 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1689, allocations: 436.8 kB / 0.5021 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.1691, allocations: 128.8 kB / 0.5022 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.1692, allocations: 12 kB / 0.5022 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.1695, allocations: 19.97 kB / 0.5022 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.1695, allocations: 15.92 kB / 0.5022 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1695, allocations: 4 kB / 0.5023 GB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.1699, allocations: 271.2 kB / 0.5025 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.5025 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000448/0.1703, allocations: 87.83 kB / 0.5026 GB, free: 12.98 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.001636/0.172, allocations: 0.9758 MB / 0.5035 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1731, allocations: 390.7 kB / 0.5039 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1731, allocations: 8 kB / 0.5039 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1735, allocations: 103.9 kB / 0.504 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.1741, allocations: 87.39 kB / 0.5041 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.1806, allocations: 3.449 MB / 0.5075 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.1811, allocations: 0.7911 MB / 0.5082 GB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.1813, allocations: 39.27 kB / 0.5083 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.1815, allocations: 115.4 kB / 0.5084 GB, free: 6.863 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1815, allocations: 0 / 0.5084 GB, free: 6.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2269/0.4083, allocations: 9.059 MB / 0.5172 GB, free: 35.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.62, allocations: 12.98 kB / 0.5173 GB, free: 35.9 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 & 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: 15.362073699987377] Failed to read output from testmodel.py, exit status != 0: 12.726350005003042 12.748822867 12.60050744 Calling exit ...