Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001533/0.001533, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.773 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.03126/0.03126, allocations: 5.471 MB / 317.9 MB, free: 13.52 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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.002032/0.002032, allocations: 63.89 kB / 446.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1146, allocations: 54.62 MB / 0.489 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006122/0.1207, allocations: 3.999 MB / 0.4929 GB, free: 8.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.1236, allocations: 1.531 MB / 0.4944 GB, free: 7.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1239, allocations: 11.94 kB / 0.4944 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.1248, allocations: 289.1 kB / 0.4947 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.1253, allocations: 254.3 kB / 0.4949 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1257, allocations: 219.6 kB / 0.4951 GB, free: 6.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4009/0.5266, allocations: 25.76 MB / 0.5203 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006522/0.5331, allocations: 3.759 MB / 0.5239 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.5489, allocations: 9.753 MB / 0.5335 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02352/0.5724, allocations: 12.59 MB / 0.5458 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00839/0.5808, allocations: 2.706 MB / 0.5484 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.5923, allocations: 2.722 MB / 0.5511 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01034/0.6026, allocations: 5.146 MB / 0.5561 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02214/0.6248, allocations: 7.88 MB / 0.5638 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03922/0.664, allocations: 29.27 MB / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.664, allocations: 0 / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.664, allocations: 0 / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009318/0.6649, allocations: 0 / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1136/0.7785, allocations: 31.51 MB / 0.6231 GB, free: 13.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.7786, allocations: 8.031 kB / 0.6231 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005416/0.784, allocations: 1.118 MB / 0.6242 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007711/0.7917, allocations: 1.542 MB / 0.6257 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05702/0.8487, allocations: 18.77 MB / 0.6441 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007952/0.8495, allocations: 0.6319 MB / 0.6447 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004393/0.8539, allocations: 0.8125 MB / 0.6455 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04299/0.8969, allocations: 15.72 MB / 0.6608 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002416/0.8971, allocations: 25.41 kB / 0.6609 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002973/0.9001, allocations: 348 kB / 0.6612 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/0.9003, allocations: 212 kB / 0.6614 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04392/0.9443, allocations: 17.57 MB / 0.6786 GB, free: 4.359 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3238/1.268, allocations: 54.11 MB / 0.7314 GB, free: 151.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05428/1.322, allocations: 17.33 MB / 0.7483 GB, free: 149.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01368/1.336, allocations: 7.127 MB / 0.7553 GB, free: 147.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/1.336, allocations: 64.33 kB / 0.7553 GB, free: 147.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.438e-05/1.337, allocations: 77.36 kB / 0.7554 GB, free: 147.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 1.362e-05/1.337, allocations: 2.672 kB / 0.7554 GB, free: 147.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04866/1.385, allocations: 22.05 MB / 0.777 GB, free: 139.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.385, allocations: 95.83 kB / 0.777 GB, free: 139.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04522/1.431, allocations: 15.49 MB / 0.7922 GB, free: 129.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001814/1.432, allocations: 109.7 kB / 0.7923 GB, free: 129.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.008442/1.441, allocations: 6.214 MB / 0.7983 GB, free: 124.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003082/1.444, allocations: 1.654 MB / 0.8 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008471/1.452, allocations: 2.145 MB / 0.8021 GB, free: 121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/1.452, allocations: 302.1 kB / 0.8023 GB, free: 120.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01443/1.467, allocations: 7.649 MB / 0.8098 GB, free: 113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/1.482, allocations: 8.842 MB / 0.8184 GB, free: 103.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02665/1.508, allocations: 14.38 MB / 0.8325 GB, free: 89.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.523e-05/1.508, allocations: 8 kB / 0.8325 GB, free: 89.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05678/1.565, allocations: 25.69 MB / 0.8576 GB, free: 63.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.565, allocations: 17.72 kB / 0.8576 GB, free: 63.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/1.565, allocations: 27.94 kB / 0.8576 GB, free: 63.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04451/1.61, allocations: 26.41 MB / 0.8834 GB, free: 36.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006607/1.616, allocations: 1.501 MB / 0.8849 GB, free: 35.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3516/1.968, allocations: 103.5 MB / 0.986 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0171/1.985, allocations: 2.503 MB / 0.9884 GB, free: 153.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/1.988, allocations: 386.5 kB / 0.9888 GB, free: 153.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.009065/1.997, allocations: 4.558 MB / 0.9933 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003328/2, allocations: 1.233 MB / 0.9945 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02979/2.03, allocations: 17.56 MB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/2.03, allocations: 44.75 kB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/2.03, allocations: 0 / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/2.03, allocations: 23.91 kB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06195/2.092, allocations: 30.63 MB / 1.042 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/2.092, allocations: 5.5 kB / 1.042 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/2.094, allocations: 452 kB / 1.042 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0235/2.117, allocations: 15.8 MB / 1.057 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001496/2.119, allocations: 119.9 kB / 1.058 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06272/2.181, allocations: 25.19 MB / 1.082 GB, free: 76.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.181, allocations: 7.75 kB / 1.082 GB, free: 76.86 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03111/2.213, allocations: 16.82 MB / 1.099 GB, free: 60.25 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008783/2.221, allocations: 2.861 MB / 1.101 GB, free: 57.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003581/2.225, allocations: 72 kB / 1.101 GB, free: 57.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01103/2.236, allocations: 1.315 MB / 1.103 GB, free: 56.05 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006695/2.237, allocations: 238.7 kB / 1.103 GB, free: 55.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009795/2.238, allocations: 148.7 kB / 1.103 GB, free: 55.68 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01462/2.252, allocations: 10.61 MB / 1.113 GB, free: 45.11 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.252, allocations: 0 / 1.113 GB, free: 45.11 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01003/2.262, allocations: 2.969 MB / 1.116 GB, free: 42.25 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02984/2.292, allocations: 17.51 MB / 1.133 GB, free: 24.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07225/2.364, allocations: 30.38 MB / 1.163 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.364, allocations: 4 kB / 1.163 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2595/2.624, allocations: 15.05 MB / 1.178 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01602/2.64, allocations: 3.142 MB / 1.181 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2591/2.899, allocations: 143 MB / 1.321 GB, free: 74.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007877/2.907, allocations: 8.196 MB / 1.329 GB, free: 66.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01022/2.917, allocations: 3.783 MB / 1.332 GB, free: 62.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007927/2.925, allocations: 4.994 MB / 1.337 GB, free: 57.67 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/2.925, allocations: 0 / 1.337 GB, free: 57.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.934/3.859, allocations: 334.4 MB / 1.664 GB, free: 180.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.66/48.52, allocations: 1.922 kB / 1.664 GB, free: 180.6 MB / 0.6075 GB " [Timeout remaining time 611] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule_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_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 51.6661654477939] Failed to read output from testmodel.py, exit status != 0: 48.83130564726889 48.841766601 48.175068974 Calling exit ...