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.001529/0.001529, allocations: 108 kB / 16.45 MB, free: 6.453 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.001371/0.001371, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.0307/0.0307, allocations: 5.485 MB / 314.3 MB, free: 14.88 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.002054/0.002054, allocations: 67.89 kB / 440.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 54.58 MB / 495.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005212/0.1087, allocations: 3.538 MB / 498.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1109, allocations: 1.324 MB / 0.4883 GB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1111, allocations: 7.938 kB / 0.4883 GB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.1116, allocations: 246.6 kB / 0.4886 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.112, allocations: 174.8 kB / 0.4887 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1122, allocations: 123.8 kB / 0.4888 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.1129, allocations: 0.5954 MB / 0.4894 GB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1132, allocations: 92.09 kB / 0.4895 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1134, allocations: 231.1 kB / 0.4897 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.1138, allocations: 270.9 kB / 0.49 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/0.1139, allocations: 60 kB / 0.49 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.114, allocations: 79.92 kB / 0.4901 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1141, allocations: 115.6 kB / 0.4902 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1144, allocations: 242.8 kB / 0.4905 GB, free: 10 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.115, allocations: 0.5681 MB / 0.491 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.115, allocations: 0 / 0.491 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.115, allocations: 0 / 0.491 GB, free: 9.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1151, allocations: 0 / 0.491 GB, free: 9.43 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.002106/0.1172, allocations: 0.841 MB / 0.4918 GB, free: 8.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1172, allocations: 8.031 kB / 0.4919 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.1173, allocations: 66.72 kB / 0.4919 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1174, allocations: 56.59 kB / 0.492 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1188, allocations: 0.5144 MB / 0.4925 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1188, allocations: 24.5 kB / 0.4925 GB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.1189, allocations: 28 kB / 0.4925 GB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.1197, allocations: 369.2 kB / 0.4929 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1197, allocations: 0 / 0.4929 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.1197, allocations: 12 kB / 0.4929 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1198, allocations: 8 kB / 0.4929 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1208, allocations: 373.9 kB / 0.4932 GB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.1235, allocations: 1.418 MB / 0.4946 GB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.1247, allocations: 427.5 kB / 0.495 GB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.1253, allocations: 152.8 kB / 0.4952 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1253, allocations: 0 / 0.4952 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1253, allocations: 38.5 kB / 0.4952 GB, free: 4.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.1253, allocations: 0 / 0.4952 GB, free: 4.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003612/0.1289, allocations: 0.7667 MB / 0.496 GB, free: 4.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.129, allocations: 59.39 kB / 0.496 GB, free: 4.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.1295, allocations: 397.6 kB / 0.4964 GB, free: 3.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1295, allocations: 25.7 kB / 0.4964 GB, free: 3.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1297, allocations: 228.6 kB / 0.4967 GB, free: 3.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.1298, allocations: 79.25 kB / 0.4967 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1299, allocations: 77.61 kB / 0.4968 GB, free: 3.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1301, allocations: 350.7 kB / 0.4971 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.1305, allocations: 139.9 kB / 0.4973 GB, free: 2.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.131, allocations: 196.1 kB / 0.4975 GB, free: 2.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.1319, allocations: 310.3 kB / 0.4978 GB, free: 2.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1319, allocations: 0 / 0.4978 GB, free: 2.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002127/0.1341, allocations: 0.5824 MB / 0.4983 GB, free: 1.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1341, allocations: 4 kB / 0.4983 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1341, allocations: 4 kB / 0.4983 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.1353, allocations: 337.3 kB / 0.4986 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1356, allocations: 55.95 kB / 0.4987 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.1385, allocations: 2.31 MB / 0.501 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.1389, allocations: 55.77 kB / 0.501 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.1389, allocations: 15.98 kB / 0.501 GB, free: 14.66 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.0001953/0.1391, allocations: 149.8 kB / 0.5012 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.1392, allocations: 35.86 kB / 0.5012 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.1393, allocations: 47.55 kB / 0.5012 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1393, allocations: 7.938 kB / 0.5013 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1393, allocations: 3.984 kB / 0.5013 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1393, allocations: 0 / 0.5013 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1413, allocations: 0.9056 MB / 0.5021 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1413, allocations: 0 / 0.5021 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1415, allocations: 31.97 kB / 0.5022 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.1422, allocations: 252.6 kB / 0.5024 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1422, allocations: 7.984 kB / 0.5024 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1434, allocations: 0.7435 MB / 0.5031 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1434, allocations: 4.031 kB / 0.5032 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.145, allocations: 0.531 MB / 0.5037 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.1452, allocations: 144.7 kB / 0.5038 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.1453, allocations: 11.88 kB / 0.5038 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1456, allocations: 31.97 kB / 0.5039 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1457, allocations: 11.98 kB / 0.5039 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.1457, allocations: 11.98 kB / 0.5039 GB, free: 11.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.146, allocations: 271.2 kB / 0.5041 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 3.938 kB / 0.5041 GB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.1464, allocations: 91.89 kB / 0.5042 GB, free: 11.24 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.002052/0.1485, allocations: 1.085 MB / 0.5053 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1499, allocations: 478.4 kB / 0.5057 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1499, allocations: 0 / 0.5057 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.1504, allocations: 155.9 kB / 0.5059 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.151, allocations: 91.05 kB / 0.506 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/0.1587, allocations: 3.786 MB / 0.5097 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.1591, allocations: 0.7923 MB / 0.5104 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.1593, allocations: 47.25 kB / 0.5105 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1595, allocations: 123.4 kB / 0.5106 GB, free: 4.512 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1595, allocations: 0 / 0.5106 GB, free: 4.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/0.3774, allocations: 10.11 MB / 0.5205 GB, free: 34.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.58, allocations: 11.45 kB / 0.5205 GB, free: 34.14 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.208829999988666] Failed to read output from testmodel.py, exit status != 0: 12.671083334003924 12.682066216 12.564588802 Calling exit ...