Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001347/0.001347, allocations: 103.6 kB / 18.94 MB, free: 2.688 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.001621/0.001621, allocations: 213.5 kB / 22.24 MB, free: 5.25 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.793 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.03151/0.03151, allocations: 5.484 MB / 317.9 MB, free: 13.54 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.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.002065/0.002065, allocations: 71.91 kB / 447.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 54.62 MB / 0.4905 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006039/0.1309, allocations: 4.001 MB / 0.4944 GB, free: 7.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1342, allocations: 1.527 MB / 0.4959 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.1346, allocations: 11.94 kB / 0.4959 GB, free: 5.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.1355, allocations: 297 kB / 0.4962 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.1361, allocations: 254.3 kB / 0.4964 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.1367, allocations: 227.6 kB / 0.4967 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2772/0.4138, allocations: 25.77 MB / 0.5218 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008227/0.422, allocations: 3.757 MB / 0.5255 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.4375, allocations: 9.76 MB / 0.535 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02418/0.4617, allocations: 12.6 MB / 0.5473 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01091/0.4726, allocations: 2.706 MB / 0.55 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.4849, allocations: 2.723 MB / 0.5526 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01111/0.4961, allocations: 5.133 MB / 0.5576 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02218/0.5182, allocations: 7.886 MB / 0.5654 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04086/0.5591, allocations: 29.26 MB / 0.5939 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.5591, allocations: 4 kB / 0.5939 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5591, allocations: 0 / 0.5939 GB, free: 11.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009363/0.56, allocations: 0 / 0.5939 GB, free: 11.97 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.1163/0.6763, allocations: 31.51 MB / 0.6247 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6764, allocations: 15.97 kB / 0.6247 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005964/0.6823, allocations: 1.122 MB / 0.6258 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008227/0.6905, allocations: 1.542 MB / 0.6273 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05979/0.7503, allocations: 18.76 MB / 0.6456 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008865/0.7512, allocations: 0.6256 MB / 0.6463 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00506/0.7563, allocations: 0.819 MB / 0.6471 GB, free: 5.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/0.8048, allocations: 15.71 MB / 0.6624 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003791/0.8052, allocations: 31.78 kB / 0.6624 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004574/0.8098, allocations: 344 kB / 0.6628 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002376/0.81, allocations: 212 kB / 0.663 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0467/0.8567, allocations: 17.57 MB / 0.6801 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5681/1.425, allocations: 54.11 MB / 0.733 GB, free: 151.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03485/1.46, allocations: 17.32 MB / 0.7499 GB, free: 149.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01307/1.473, allocations: 7.13 MB / 0.7568 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/1.473, allocations: 67.16 kB / 0.7569 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.473, allocations: 81.08 kB / 0.757 GB, free: 147.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 9.107e-06/1.473, allocations: 2.766 kB / 0.757 GB, free: 147.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04327/1.516, allocations: 22.04 MB / 0.7785 GB, free: 139.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.516, allocations: 98.92 kB / 0.7786 GB, free: 139.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02495/1.541, allocations: 15.49 MB / 0.7937 GB, free: 129.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001814/1.543, allocations: 117.7 kB / 0.7938 GB, free: 129.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006691/1.55, allocations: 6.205 MB / 0.7999 GB, free: 124 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0024/1.552, allocations: 1.655 MB / 0.8015 GB, free: 122.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005526/1.558, allocations: 2.141 MB / 0.8036 GB, free: 120.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/1.558, allocations: 302.8 kB / 0.8039 GB, free: 120.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01321/1.571, allocations: 7.656 MB / 0.8114 GB, free: 112.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/1.587, allocations: 8.84 MB / 0.82 GB, free: 103.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02785/1.615, allocations: 14.38 MB / 0.834 GB, free: 88.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.212e-05/1.615, allocations: 4 kB / 0.8341 GB, free: 88.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06051/1.676, allocations: 25.69 MB / 0.8591 GB, free: 62.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/1.676, allocations: 18.66 kB / 0.8592 GB, free: 62.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/1.676, allocations: 27.94 kB / 0.8592 GB, free: 62.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04522/1.721, allocations: 26.1 MB / 0.8847 GB, free: 36.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006933/1.728, allocations: 1.494 MB / 0.8861 GB, free: 34.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4301/2.158, allocations: 103.5 MB / 0.9872 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/2.177, allocations: 2.518 MB / 0.9897 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002654/2.18, allocations: 376.2 kB / 0.9901 GB, free: 154.2 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.01046/2.19, allocations: 4.554 MB / 0.9945 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003776/2.194, allocations: 1.233 MB / 0.9957 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03335/2.228, allocations: 17.58 MB / 1.013 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/2.228, allocations: 41.56 kB / 1.013 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/2.228, allocations: 0 / 1.013 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.825e-05/2.228, allocations: 19.92 kB / 1.013 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0634/2.291, allocations: 30.64 MB / 1.043 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/2.291, allocations: 0 / 1.043 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/2.293, allocations: 451.5 kB / 1.043 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02319/2.316, allocations: 15.8 MB / 1.059 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001496/2.317, allocations: 111.9 kB / 1.059 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06267/2.38, allocations: 25.2 MB / 1.083 GB, free: 76.89 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.38, allocations: 3.75 kB / 1.083 GB, free: 76.89 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/2.413, allocations: 16.82 MB / 1.1 GB, free: 60.12 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00924/2.422, allocations: 2.861 MB / 1.103 GB, free: 57.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004044/2.426, allocations: 72 kB / 1.103 GB, free: 57.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01142/2.438, allocations: 1.318 MB / 1.104 GB, free: 55.92 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008071/2.439, allocations: 235 kB / 1.104 GB, free: 55.69 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001119/2.44, allocations: 143.9 kB / 1.104 GB, free: 55.55 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02161/2.461, allocations: 10.61 MB / 1.115 GB, free: 44.98 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.21e-07/2.461, allocations: 4 kB / 1.115 GB, free: 44.98 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01517/2.477, allocations: 2.965 MB / 1.118 GB, free: 42.13 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.03544/2.512, allocations: 17.52 MB / 1.135 GB, free: 24.58 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.112/2.624, allocations: 30.38 MB / 1.164 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/2.624, allocations: 0 / 1.164 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2954/2.92, allocations: 15.05 MB / 1.179 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01798/2.937, allocations: 3.144 MB / 1.182 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2741/3.212, allocations: 143 MB / 1.322 GB, free: 74.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/3.224, allocations: 8.196 MB / 1.33 GB, free: 66.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01168/3.235, allocations: 3.783 MB / 1.334 GB, free: 62.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008524/3.244, allocations: 4.998 MB / 1.338 GB, free: 57.58 MB / 0.5919 GB Notification: Performance of SimCode: time 1.773e-06/3.244, allocations: 3.938 kB / 1.338 GB, free: 57.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.986/4.23, allocations: 334.3 MB / 1.665 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.44/48.67, allocations: 11.28 kB / 1.665 GB, free: 180.2 MB / 0.6075 GB " [Timeout remaining time 611] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 53.24697639187798] Failed to read output from testmodel.py, exit status != 0: 48.99068510485813 49.00689666 48.44351824 Calling exit ...