Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.001734/0.001734, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00221/0.00221, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8.027 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.03047/0.03047, allocations: 5.48 MB / 317.9 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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.00304/0.00304, allocations: 59.91 kB / 446.2 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1328, allocations: 54.62 MB / 0.4891 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004824/0.1376, allocations: 3.566 MB / 0.4925 GB, free: 9.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1399, allocations: 1.344 MB / 0.4939 GB, free: 8.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1402, allocations: 4 kB / 0.4939 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.1408, allocations: 238.6 kB / 0.4941 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.1412, allocations: 178.7 kB / 0.4943 GB, free: 7.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1415, allocations: 123.8 kB / 0.4944 GB, free: 7.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/0.1422, allocations: 0.5993 MB / 0.495 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1424, allocations: 88.58 kB / 0.4951 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.1427, allocations: 235.1 kB / 0.4953 GB, free: 6.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.143, allocations: 270.8 kB / 0.4955 GB, free: 6.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.1431, allocations: 56 kB / 0.4956 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1433, allocations: 79.98 kB / 0.4957 GB, free: 6.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1434, allocations: 119.6 kB / 0.4958 GB, free: 6.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1436, allocations: 242.8 kB / 0.496 GB, free: 6.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.1443, allocations: 0.5642 MB / 0.4966 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1443, allocations: 4 kB / 0.4966 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1443, allocations: 0 / 0.4966 GB, free: 5.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1443, allocations: 0 / 0.4966 GB, free: 5.504 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002279/0.1466, allocations: 0.7696 MB / 0.4973 GB, free: 4.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.1466, allocations: 8.031 kB / 0.4973 GB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1467, allocations: 66.72 kB / 0.4974 GB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1468, allocations: 48.61 kB / 0.4974 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.1484, allocations: 467.7 kB / 0.4979 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1484, allocations: 20.59 kB / 0.4979 GB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.1485, allocations: 28 kB / 0.4979 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.1492, allocations: 366.3 kB / 0.4983 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1493, allocations: 0 / 0.4983 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1493, allocations: 12 kB / 0.4983 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1493, allocations: 4 kB / 0.4983 GB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.1503, allocations: 377.6 kB / 0.4986 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.1528, allocations: 1.375 MB / 0.5 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1539, allocations: 351.7 kB / 0.5003 GB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.1544, allocations: 156.7 kB / 0.5005 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.1544, allocations: 0 / 0.5005 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1544, allocations: 38.59 kB / 0.5005 GB, free: 1.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.1544, allocations: 3.938 kB / 0.5005 GB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003325/0.1578, allocations: 0.6915 MB / 0.5012 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1578, allocations: 59.34 kB / 0.5012 GB, free: 0.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.1583, allocations: 393.6 kB / 0.5016 GB, free: 108 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1583, allocations: 33.7 kB / 0.5017 GB, free: 68 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1585, allocations: 224.5 kB / 0.5019 GB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.1586, allocations: 87.25 kB / 0.502 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1587, allocations: 73.61 kB / 0.502 GB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1589, allocations: 350.7 kB / 0.5024 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.1593, allocations: 139.9 kB / 0.5025 GB, free: 15.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.1598, allocations: 188.4 kB / 0.5027 GB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.1606, allocations: 312.9 kB / 0.503 GB, free: 14.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1606, allocations: 0 / 0.503 GB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002104/0.1627, allocations: 0.5824 MB / 0.5035 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1628, allocations: 4.938 kB / 0.5035 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1628, allocations: 4 kB / 0.5035 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.1641, allocations: 337.3 kB / 0.5039 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1644, allocations: 51.91 kB / 0.5039 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.1674, allocations: 2.206 MB / 0.5061 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.1679, allocations: 55.8 kB / 0.5061 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.168, allocations: 11.98 kB / 0.5061 GB, free: 11.28 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.1682, allocations: 149.8 kB / 0.5063 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.1683, allocations: 43.75 kB / 0.5063 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-05/0.1684, allocations: 39.7 kB / 0.5064 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1684, allocations: 7.938 kB / 0.5064 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1684, allocations: 4 kB / 0.5064 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1684, allocations: 0 / 0.5064 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.1704, allocations: 0.8774 MB / 0.5072 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1704, allocations: 3.984 kB / 0.5072 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1706, allocations: 35.98 kB / 0.5073 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.1712, allocations: 252.7 kB / 0.5075 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1713, allocations: 7.984 kB / 0.5075 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.1723, allocations: 0.7435 MB / 0.5082 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1723, allocations: 64 / 0.5082 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.1739, allocations: 0.5319 MB / 0.5088 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1741, allocations: 63.67 kB / 0.5088 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.1742, allocations: 11.94 kB / 0.5088 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.1745, allocations: 31.91 kB / 0.5089 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1746, allocations: 15.97 kB / 0.5089 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1746, allocations: 7.984 kB / 0.5089 GB, free: 8.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.1749, allocations: 275.2 kB / 0.5091 GB, free: 8.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1749, allocations: 4 kB / 0.5092 GB, free: 8.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000424/0.1753, allocations: 91.83 kB / 0.5092 GB, free: 7.977 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.1772, allocations: 1.087 MB / 0.5103 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.1786, allocations: 483.4 kB / 0.5108 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1786, allocations: 0 / 0.5108 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.1791, allocations: 151.9 kB / 0.5109 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.1796, allocations: 81.05 kB / 0.511 GB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.1867, allocations: 3.798 MB / 0.5147 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1871, allocations: 0.7923 MB / 0.5155 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.1873, allocations: 47.25 kB / 0.5155 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1875, allocations: 123.4 kB / 0.5156 GB, free: 1.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1875, allocations: 0 / 0.5156 GB, free: 1.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2632/0.4507, allocations: 10.34 MB / 0.5257 GB, free: 32.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.52, allocations: 2.625 kB / 0.5257 GB, free: 32.14 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric_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_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.46953575900261] Failed to read output from testmodel.py, exit status != 0: 13.678074267001648 13.697763973 13.549490544 Calling exit ...