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.001387/0.001387, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001591/0.001591, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.496/1.496, 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.04765/0.04765, allocations: 5.491 MB / 317.9 MB, free: 13.49 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.002837/0.002837, allocations: 59.91 kB / 446.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1525, allocations: 54.63 MB / 0.489 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005187/0.1576, allocations: 3.143 MB / 0.4921 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1599, allocations: 1.204 MB / 0.4932 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.1602, allocations: 7.938 kB / 0.4932 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.1611, allocations: 202.8 kB / 0.4934 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006371/0.1617, allocations: 162.9 kB / 0.4936 GB, free: 8.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1621, allocations: 131.8 kB / 0.4937 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.1629, allocations: 0.5565 MB / 0.4943 GB, free: 7.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.1632, allocations: 80.56 kB / 0.4943 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.1635, allocations: 219.2 kB / 0.4945 GB, free: 7.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.1639, allocations: 226.9 kB / 0.4948 GB, free: 6.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1641, allocations: 52 kB / 0.4948 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1643, allocations: 71.98 kB / 0.4949 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1644, allocations: 111.6 kB / 0.495 GB, free: 6.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1647, allocations: 191.1 kB / 0.4952 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.1655, allocations: 0.5293 MB / 0.4957 GB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.1655, allocations: 4 kB / 0.4957 GB, free: 5.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1655, allocations: 4 kB / 0.4957 GB, free: 5.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.1656, allocations: 3.984 kB / 0.4957 GB, free: 5.953 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.002121/0.1677, allocations: 0.75 MB / 0.4964 GB, free: 5.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1677, allocations: 8.031 kB / 0.4964 GB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/0.1678, allocations: 54.73 kB / 0.4965 GB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1679, allocations: 44.66 kB / 0.4965 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1692, allocations: 427.6 kB / 0.4969 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1692, allocations: 20.44 kB / 0.497 GB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.1692, allocations: 24 kB / 0.497 GB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.1699, allocations: 318 kB / 0.4973 GB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1699, allocations: 3.938 kB / 0.4973 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.1699, allocations: 12 kB / 0.4973 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1699, allocations: 8 kB / 0.4973 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.1705, allocations: 241.5 kB / 0.4975 GB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.1729, allocations: 1.158 MB / 0.4987 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.1735, allocations: 182.4 kB / 0.4988 GB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1738, allocations: 104.8 kB / 0.4989 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1738, allocations: 0 / 0.4989 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.174, allocations: 34.56 kB / 0.499 GB, free: 2.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.174, allocations: 0 / 0.499 GB, free: 2.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002184/0.1762, allocations: 470.1 kB / 0.4994 GB, free: 1.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1762, allocations: 63.22 kB / 0.4995 GB, free: 1.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.1768, allocations: 393.6 kB / 0.4999 GB, free: 1.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1768, allocations: 33.8 kB / 0.4999 GB, free: 1.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.177, allocations: 220.1 kB / 0.5001 GB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.177, allocations: 47.62 kB / 0.5001 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1772, allocations: 53.69 kB / 0.5002 GB, free: 1.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1773, allocations: 342.8 kB / 0.5005 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1776, allocations: 95.94 kB / 0.5006 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1779, allocations: 135.4 kB / 0.5007 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.1784, allocations: 221.4 kB / 0.5009 GB, free: 296 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1784, allocations: 0 / 0.5009 GB, free: 296 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001328/0.1797, allocations: 442.3 kB / 0.5014 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1798, allocations: 11.94 kB / 0.5014 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1798, allocations: 0 / 0.5014 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/0.1807, allocations: 241.6 kB / 0.5016 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1809, allocations: 39.97 kB / 0.5017 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.1833, allocations: 2.113 MB / 0.5037 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1836, allocations: 43.78 kB / 0.5038 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1836, allocations: 12 kB / 0.5038 GB, free: 13.24 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.000205/0.1839, allocations: 145.9 kB / 0.5039 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.184, allocations: 39.75 kB / 0.5039 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.184, allocations: 39.06 kB / 0.504 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.184, allocations: 0 / 0.504 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.184, allocations: 0 / 0.504 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.184, allocations: 4.078 kB / 0.504 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1853, allocations: 0.6394 MB / 0.5046 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1854, allocations: 0 / 0.5046 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.1854, allocations: 19.98 kB / 0.5046 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/0.1858, allocations: 160.8 kB / 0.5048 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1858, allocations: 4 kB / 0.5048 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007066/0.1865, allocations: 0.6615 MB / 0.5054 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1865, allocations: 0 / 0.5054 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.1873, allocations: 356.9 kB / 0.5058 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1875, allocations: 59.67 kB / 0.5058 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.1875, allocations: 64 / 0.5058 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1878, allocations: 19.98 kB / 0.5058 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.1878, allocations: 12.02 kB / 0.5059 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1878, allocations: 8.078 kB / 0.5059 GB, free: 10.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.1882, allocations: 271.1 kB / 0.5061 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1882, allocations: 0 / 0.5061 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.1887, allocations: 83.88 kB / 0.5062 GB, free: 10.63 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.001276/0.19, allocations: 0.901 MB / 0.5071 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1912, allocations: 367.3 kB / 0.5074 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1912, allocations: 0 / 0.5074 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.1914, allocations: 79.88 kB / 0.5075 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.1921, allocations: 82.36 kB / 0.5076 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.1984, allocations: 3.347 MB / 0.5109 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1986, allocations: 173.1 kB / 0.511 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.1988, allocations: 46.94 kB / 0.5111 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.1989, allocations: 107.4 kB / 0.5112 GB, free: 5.367 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1989, allocations: 0 / 0.5112 GB, free: 5.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2499/0.4489, allocations: 9.18 MB / 0.5201 GB, free: 33.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.53, allocations: 13.86 kB / 0.5202 GB, free: 33.34 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.434138488955796] Failed to read output from testmodel.py, exit status != 0: 13.65564873907715 13.679921875 13.50981884 Calling exit ...