Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001759/0.001759, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002257/0.002257, allocations: 213.3 kB / 22.26 MB, free: 5.121 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.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.03031/0.03031, allocations: 5.487 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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.002654/0.002654, allocations: 67.89 kB / 446.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1556, allocations: 54.62 MB / 0.4891 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005998/0.1616, allocations: 3.423 MB / 0.4924 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1642, allocations: 1.312 MB / 0.4937 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.1644, allocations: 7.938 kB / 0.4937 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.1651, allocations: 238.7 kB / 0.4939 GB, free: 8.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1655, allocations: 162.8 kB / 0.4941 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1658, allocations: 127.8 kB / 0.4942 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007426/0.1665, allocations: 0.5604 MB / 0.4948 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1668, allocations: 84.58 kB / 0.4948 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.1671, allocations: 219.2 kB / 0.495 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.1675, allocations: 255 kB / 0.4953 GB, free: 6.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.1675, allocations: 52 kB / 0.4953 GB, free: 6.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.1677, allocations: 76 kB / 0.4954 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1678, allocations: 107.6 kB / 0.4955 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.168, allocations: 218.9 kB / 0.4957 GB, free: 6.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.1687, allocations: 0.5409 MB / 0.4962 GB, free: 5.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1687, allocations: 0 / 0.4962 GB, free: 5.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1687, allocations: 0 / 0.4962 GB, free: 5.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1687, allocations: 0 / 0.4962 GB, free: 5.828 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002106/0.1708, allocations: 0.75 MB / 0.497 GB, free: 5.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1709, allocations: 15.97 kB / 0.497 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.499e-05/0.171, allocations: 54.72 kB / 0.497 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.1711, allocations: 48.66 kB / 0.4971 GB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1723, allocations: 419.7 kB / 0.4975 GB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.1723, allocations: 24.44 kB / 0.4975 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.1724, allocations: 31.98 kB / 0.4975 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.1729, allocations: 300.2 kB / 0.4978 GB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.173, allocations: 0 / 0.4978 GB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.173, allocations: 8 kB / 0.4978 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.173, allocations: 4 kB / 0.4978 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.1736, allocations: 253.5 kB / 0.4981 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.1759, allocations: 1.216 MB / 0.4993 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.1764, allocations: 178.4 kB / 0.4994 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.1767, allocations: 105.1 kB / 0.4995 GB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1767, allocations: 11.88 kB / 0.4996 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1768, allocations: 34.56 kB / 0.4996 GB, free: 2.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1768, allocations: 0 / 0.4996 GB, free: 2.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002188/0.179, allocations: 473.8 kB / 0.5 GB, free: 1.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.179, allocations: 55.34 kB / 0.5001 GB, free: 1.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.1795, allocations: 389.6 kB / 0.5005 GB, free: 1.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1795, allocations: 29.7 kB / 0.5005 GB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1797, allocations: 220.2 kB / 0.5007 GB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.1797, allocations: 39.69 kB / 0.5007 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1799, allocations: 57.64 kB / 0.5008 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1801, allocations: 342.8 kB / 0.5011 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1803, allocations: 103.9 kB / 0.5012 GB, free: 500 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.1806, allocations: 139.3 kB / 0.5014 GB, free: 348 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.1811, allocations: 221.4 kB / 0.5016 GB, free: 116 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1811, allocations: 0 / 0.5016 GB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001302/0.1824, allocations: 446.2 kB / 0.502 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1824, allocations: 16.03 kB / 0.502 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1824, allocations: 0 / 0.502 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008902/0.1833, allocations: 241.5 kB / 0.5022 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1836, allocations: 43.91 kB / 0.5023 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.1862, allocations: 2.105 MB / 0.5043 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.1865, allocations: 47.86 kB / 0.5044 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.1866, allocations: 12.05 kB / 0.5044 GB, free: 13.06 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 (22): * Single equations (assignments): 20 * 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.000224/0.1868, allocations: 139.5 kB / 0.5045 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.1869, allocations: 39.77 kB / 0.5046 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.1869, allocations: 39.06 kB / 0.5046 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1869, allocations: 3.984 kB / 0.5046 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.1869, allocations: 0 / 0.5046 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1869, allocations: 0 / 0.5046 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.1883, allocations: 0.6707 MB / 0.5053 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1883, allocations: 0 / 0.5053 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.1884, allocations: 24.02 kB / 0.5053 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.1887, allocations: 164.8 kB / 0.5054 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1888, allocations: 7.984 kB / 0.5054 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008094/0.1896, allocations: 0.6459 MB / 0.5061 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1896, allocations: 4.031 kB / 0.5061 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.1904, allocations: 368.9 kB / 0.5064 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1905, allocations: 63.61 kB / 0.5065 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1906, allocations: 0 / 0.5065 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1908, allocations: 23.97 kB / 0.5065 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1909, allocations: 7.984 kB / 0.5065 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1909, allocations: 0 / 0.5065 GB, free: 10.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.1913, allocations: 275.2 kB / 0.5068 GB, free: 10.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1913, allocations: 0 / 0.5068 GB, free: 10.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000444/0.1917, allocations: 75.89 kB / 0.5069 GB, free: 10.42 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 (9): * Single equations (assignments): 8 * 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.001191/0.1929, allocations: 0.905 MB / 0.5077 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.194, allocations: 371.2 kB / 0.5081 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.194, allocations: 0 / 0.5081 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.1942, allocations: 79.94 kB / 0.5082 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.1948, allocations: 90.31 kB / 0.5083 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.201, allocations: 3.339 MB / 0.5115 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.2015, allocations: 0.7756 MB / 0.5123 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.2017, allocations: 46.94 kB / 0.5123 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.2019, allocations: 115.4 kB / 0.5124 GB, free: 4.527 MB / 382.1 MB Notification: Performance of SimCode: time 1.874e-06/0.2019, allocations: 0 / 0.5124 GB, free: 4.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.4966, allocations: 8.899 MB / 0.5211 GB, free: 33.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.54, allocations: 5.047 kB / 0.5211 GB, free: 33.14 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell_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_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.393599386996357] Failed to read output from testmodel.py, exit status != 0: 13.669076092999603 13.68922487 13.516526169 Calling exit ...