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.001584/0.001584, allocations: 104.7 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.001979/0.001979, 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 9.008 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.03056/0.03056, allocations: 5.487 MB / 314.3 MB, free: 14.91 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.001965/0.001965, allocations: 67.91 kB / 440.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 54.59 MB / 495.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004771/0.1091, allocations: 3.398 MB / 498.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1111, allocations: 1.312 MB / 499.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.1113, allocations: 7.938 kB / 499.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.1119, allocations: 242.6 kB / 0.4884 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1123, allocations: 158.9 kB / 0.4886 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1125, allocations: 119.8 kB / 0.4887 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.1131, allocations: 0.5604 MB / 0.4892 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1133, allocations: 84.11 kB / 0.4893 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.1136, allocations: 219.2 kB / 0.4895 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.1139, allocations: 258.9 kB / 0.4898 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.114, allocations: 52 kB / 0.4898 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1141, allocations: 71.98 kB / 0.4899 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1143, allocations: 107.6 kB / 0.49 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1145, allocations: 230.9 kB / 0.4902 GB, free: 10.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.1152, allocations: 0.5331 MB / 0.4907 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1152, allocations: 0 / 0.4907 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1152, allocations: 0 / 0.4907 GB, free: 9.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1152, allocations: 0 / 0.4907 GB, free: 9.793 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.002012/0.1172, allocations: 0.8254 MB / 0.4915 GB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1172, allocations: 11.97 kB / 0.4915 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.83e-05/0.1173, allocations: 58.73 kB / 0.4916 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.1174, allocations: 44.66 kB / 0.4916 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.1186, allocations: 487 kB / 0.4921 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1186, allocations: 24.5 kB / 0.4921 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.1186, allocations: 20 kB / 0.4921 GB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.1193, allocations: 297.1 kB / 0.4924 GB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1193, allocations: 3.938 kB / 0.4924 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1193, allocations: 8 kB / 0.4924 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1193, allocations: 8 kB / 0.4924 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.1199, allocations: 241.6 kB / 0.4927 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.1223, allocations: 1.271 MB / 0.4939 GB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.1229, allocations: 259.5 kB / 0.4942 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.1233, allocations: 108.8 kB / 0.4943 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1233, allocations: 4 kB / 0.4943 GB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1233, allocations: 34.56 kB / 0.4943 GB, free: 5.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1233, allocations: 224 / 0.4943 GB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002257/0.1256, allocations: 0.5419 MB / 0.4948 GB, free: 5.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1256, allocations: 59.28 kB / 0.4949 GB, free: 5.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.1261, allocations: 389.6 kB / 0.4953 GB, free: 4.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1261, allocations: 29.7 kB / 0.4953 GB, free: 4.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1263, allocations: 220.1 kB / 0.4955 GB, free: 4.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.1263, allocations: 35.69 kB / 0.4955 GB, free: 4.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1264, allocations: 61.64 kB / 0.4956 GB, free: 4.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1266, allocations: 342.8 kB / 0.4959 GB, free: 4.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1269, allocations: 99.94 kB / 0.496 GB, free: 4.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.1272, allocations: 135.3 kB / 0.4961 GB, free: 3.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.1277, allocations: 224.4 kB / 0.4964 GB, free: 3.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1277, allocations: 0 / 0.4964 GB, free: 3.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001352/0.1291, allocations: 438.8 kB / 0.4968 GB, free: 3.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1291, allocations: 16.03 kB / 0.4968 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1291, allocations: 0 / 0.4968 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/0.13, allocations: 249.5 kB / 0.497 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1302, allocations: 35.98 kB / 0.4971 GB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.1327, allocations: 2.216 MB / 0.4992 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.1331, allocations: 43.95 kB / 0.4993 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1331, allocations: 8 kB / 0.4993 GB, free: 0.5039 MB / 366.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.000196/0.1333, allocations: 141.8 kB / 0.4994 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.1334, allocations: 39.75 kB / 0.4995 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.1334, allocations: 39.06 kB / 0.4995 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1334, allocations: 96 / 0.4995 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1335, allocations: 3.938 kB / 0.4995 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1335, allocations: 0 / 0.4995 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1348, allocations: 0.7067 MB / 0.5002 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1348, allocations: 64 / 0.5002 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1349, allocations: 28.02 kB / 0.5002 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.1353, allocations: 164.8 kB / 0.5004 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1353, allocations: 4 kB / 0.5004 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007089/0.136, allocations: 0.6498 MB / 0.501 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.136, allocations: 4 kB / 0.501 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.1368, allocations: 360.9 kB / 0.5014 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.1369, allocations: 140.7 kB / 0.5015 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.137, allocations: 0 / 0.5015 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1372, allocations: 19.98 kB / 0.5015 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1373, allocations: 7.984 kB / 0.5015 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1373, allocations: 0 / 0.5015 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.1376, allocations: 271.2 kB / 0.5018 GB, free: 13.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 0.5018 GB, free: 13.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.138, allocations: 79.89 kB / 0.5018 GB, free: 13.73 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.001152/0.1392, allocations: 0.9094 MB / 0.5027 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009349/0.1401, allocations: 363.3 kB / 0.5031 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1401, allocations: 0 / 0.5031 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.1404, allocations: 83.88 kB / 0.5032 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1409, allocations: 77.89 kB / 0.5032 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.1467, allocations: 3.328 MB / 0.5065 GB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1472, allocations: 0.7795 MB / 0.5072 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1473, allocations: 38.95 kB / 0.5073 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1475, allocations: 111.4 kB / 0.5074 GB, free: 7.867 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1475, allocations: 0 / 0.5074 GB, free: 7.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/0.3715, allocations: 8.74 MB / 0.5159 GB, free: 34.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.64, allocations: 4.906 kB / 0.5159 GB, free: 34.6 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.388532960991142] Failed to read output from testmodel.py, exit status != 0: 12.744349392000004 12.767557957 12.648616797 Calling exit ...