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.0007087/0.0007087, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008768/0.0008768, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.01779/0.01779, allocations: 4.218 MB / 263.4 MB, free: 9.141 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 391.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.012e-05, allocations: 6.281 kB / 391.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003687/0.003707, allocations: 4.012 MB / 395.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.006379, allocations: 1.531 MB / 397.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.006691, allocations: 15.88 kB / 397.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006638/0.007354, allocations: 285.4 kB / 397.5 MB, free: 220 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.007813, allocations: 258.3 kB / 397.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.008181, allocations: 227.5 kB / 398 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.02273, allocations: 26.4 MB / 424.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/0.02843, allocations: 3.765 MB / 428.2 MB, free: 1.383 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/0.04533, allocations: 13.96 MB / 442.1 MB, free: 3.395 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1645/0.2099, allocations: 11.62 MB / 453.8 MB, free: 61.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005091/0.215, allocations: 2.702 MB / 456.5 MB, free: 61.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/0.22, allocations: 2.725 MB / 459.2 MB, free: 61.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.2231, allocations: 5.186 MB / 464.4 MB, free: 59.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.2335, allocations: 6.887 MB / 471.3 MB, free: 57.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02302/0.2565, allocations: 30.71 MB / 0.4902 GB, free: 44.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2565, allocations: 0 / 0.4902 GB, free: 44.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2565, allocations: 0 / 0.4902 GB, free: 44.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007571/0.2573, allocations: 0 / 0.4902 GB, free: 44.97 MB / 410.7 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.0696/0.3269, allocations: 31.37 MB / 0.5208 GB, free: 26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3269, allocations: 9.531 kB / 0.5209 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006967/0.3339, allocations: 1.119 MB / 0.5219 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008835/0.3427, allocations: 1.544 MB / 0.5235 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03593/0.3786, allocations: 18.77 MB / 0.5418 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/0.3792, allocations: 0.6285 MB / 0.5424 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00445/0.3836, allocations: 0.8125 MB / 0.5432 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/0.4193, allocations: 15.72 MB / 0.5585 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.4196, allocations: 25.41 kB / 0.5586 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004317/0.4239, allocations: 344 kB / 0.5589 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.4241, allocations: 212 kB / 0.5591 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0328/0.4569, allocations: 17.58 MB / 0.5763 GB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2685/0.7253, allocations: 54.05 MB / 0.629 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02225/0.7476, allocations: 17.34 MB / 0.646 GB, free: 99.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00815/0.7557, allocations: 7.14 MB / 0.6529 GB, free: 97.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.7559, allocations: 66.7 kB / 0.653 GB, free: 97.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.7559, allocations: 78.25 kB / 0.6531 GB, free: 97.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=448): time 6.903e-06/0.7559, allocations: 0.6562 kB / 0.6531 GB, free: 97.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=448): time 0.03244/0.7884, allocations: 22.05 MB / 0.6746 GB, free: 91.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7884, allocations: 96.05 kB / 0.6747 GB, free: 91.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0217/0.8101, allocations: 15.49 MB / 0.6898 GB, free: 80.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001665/0.8118, allocations: 117.7 kB / 0.6899 GB, free: 79.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004563/0.8164, allocations: 6.188 MB / 0.696 GB, free: 74.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/0.8187, allocations: 1.629 MB / 0.6976 GB, free: 73.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005855/0.8245, allocations: 2.121 MB / 0.6996 GB, free: 71.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.8246, allocations: 301.1 kB / 0.6999 GB, free: 70.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009924/0.8345, allocations: 7.652 MB / 0.7074 GB, free: 63.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/0.8457, allocations: 8.837 MB / 0.716 GB, free: 53.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02189/0.8676, allocations: 14.38 MB / 0.7301 GB, free: 39.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-05/0.8676, allocations: 16.67 kB / 0.7301 GB, free: 39.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.04403/0.9116, allocations: 25.69 MB / 0.7552 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.9117, allocations: 16 kB / 0.7552 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.9117, allocations: 26.77 kB / 0.7552 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02978/0.9415, allocations: 26.4 MB / 0.781 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/0.9466, allocations: 1.498 MB / 0.7825 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2488/1.195, allocations: 103.5 MB / 0.8835 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/1.208, allocations: 2.509 MB / 0.8859 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/1.211, allocations: 384.2 kB / 0.8863 GB, free: 85.69 MB / 0.4948 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.009096/1.22, allocations: 4.566 MB / 0.8908 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003437/1.223, allocations: 1.236 MB / 0.892 GB, free: 83.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/1.247, allocations: 17.56 MB / 0.9091 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.247, allocations: 44 kB / 0.9092 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.247, allocations: 0 / 0.9092 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.247, allocations: 23.92 kB / 0.9092 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04627/1.293, allocations: 30.63 MB / 0.9391 GB, free: 43.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.293, allocations: 0 / 0.9391 GB, free: 43.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/1.294, allocations: 459.4 kB / 0.9395 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01428/1.308, allocations: 15.8 MB / 0.955 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/1.309, allocations: 115.9 kB / 0.9551 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03641/1.346, allocations: 25.2 MB / 0.9797 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.346, allocations: 0 / 0.9797 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2024/1.548, allocations: 16.81 MB / 0.9961 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007487/1.556, allocations: 2.874 MB / 0.9989 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003631/1.559, allocations: 72.28 kB / 0.999 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007993/1.567, allocations: 1.31 MB / 1 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.568, allocations: 233.3 kB / 1 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008377/1.569, allocations: 145.3 kB / 1.001 GB, free: 138 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01594/1.585, allocations: 10.61 MB / 1.011 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.585, allocations: 0 / 1.011 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0156/1.6, allocations: 2.975 MB / 1.014 GB, free: 134.1 MB / 0.4948 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.0265/1.627, allocations: 17.5 MB / 1.031 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04145/1.668, allocations: 30.36 MB / 1.061 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.668, allocations: 448 / 1.061 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02517/1.693, allocations: 15.05 MB / 1.075 GB, free: 89.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01696/1.71, allocations: 3.158 MB / 1.078 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.742/2.452, allocations: 143.8 MB / 1.219 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008166/2.461, allocations: 8.205 MB / 1.227 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008909/2.469, allocations: 3.781 MB / 1.231 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007734/2.477, allocations: 4.999 MB / 1.235 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.903e-06/2.477, allocations: 0 / 1.235 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6628/3.14, allocations: 333.7 MB / 1.561 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.39/29.53, allocations: 1.828 kB / 1.561 GB, free: 109.5 MB / 0.5105 GB " [Timeout remaining time 630] (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: 31.661122950725257] Failed to read output from testmodel.py, exit status != 0: 29.75586182437837 29.766357492 29.507435196 Calling exit ...