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.001343/0.001343, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001474/0.001474, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.961 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.03069/0.03069, allocations: 5.484 MB / 317.9 MB, free: 13.69 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.002266/0.002266, allocations: 67.89 kB / 446.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 54.63 MB / 0.4891 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006235/0.1205, allocations: 4.439 MB / 0.4934 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1239, allocations: 1.644 MB / 0.495 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.1245, allocations: 11.94 kB / 0.495 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1256, allocations: 325 kB / 0.4953 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.1262, allocations: 254.4 kB / 0.4956 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1267, allocations: 219.6 kB / 0.4958 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4481/0.5748, allocations: 25.77 MB / 0.5209 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006954/0.5818, allocations: 3.7 MB / 0.5246 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01627/0.5981, allocations: 9.628 MB / 0.534 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02517/0.6232, allocations: 10.91 MB / 0.5446 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01211/0.6353, allocations: 2.705 MB / 0.5473 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.6486, allocations: 2.719 MB / 0.5499 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009364/0.658, allocations: 5.145 MB / 0.5549 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02263/0.6806, allocations: 9.568 MB / 0.5643 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03927/0.7199, allocations: 29.12 MB / 0.5927 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7199, allocations: 4 kB / 0.5927 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7199, allocations: 0 / 0.5927 GB, free: 12.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007948/0.7207, allocations: 3.938 kB / 0.5927 GB, free: 12.45 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.1157/0.8364, allocations: 31.51 MB / 0.6235 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.8365, allocations: 8.031 kB / 0.6235 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006059/0.8425, allocations: 1.125 MB / 0.6246 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008117/0.8507, allocations: 1.542 MB / 0.6261 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06177/0.9124, allocations: 18.77 MB / 0.6444 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008427/0.9133, allocations: 0.6278 MB / 0.6451 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00464/0.9179, allocations: 0.8164 MB / 0.6459 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04489/0.9628, allocations: 15.69 MB / 0.6612 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/0.9631, allocations: 21.22 kB / 0.6612 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004097/0.9672, allocations: 352 kB / 0.6615 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.9674, allocations: 212 kB / 0.6617 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04649/1.014, allocations: 17.61 MB / 0.6789 GB, free: 4.012 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3997/1.414, allocations: 57.45 MB / 0.735 GB, free: 150.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03885/1.452, allocations: 17.36 MB / 0.752 GB, free: 149.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01289/1.465, allocations: 7.152 MB / 0.759 GB, free: 147.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/1.466, allocations: 73.3 kB / 0.759 GB, free: 147.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.466, allocations: 77.39 kB / 0.7591 GB, free: 147.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.172e-06/1.466, allocations: 0 / 0.7591 GB, free: 147.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05278/1.518, allocations: 22.04 MB / 0.7806 GB, free: 138.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/1.518, allocations: 102.5 kB / 0.7807 GB, free: 138.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03145/1.55, allocations: 15.36 MB / 0.7957 GB, free: 126.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00191/1.552, allocations: 113.1 kB / 0.7959 GB, free: 126.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006809/1.559, allocations: 6.21 MB / 0.8019 GB, free: 121.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/1.562, allocations: 1.661 MB / 0.8035 GB, free: 120.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009457/1.571, allocations: 2.141 MB / 0.8056 GB, free: 118.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/1.571, allocations: 305.1 kB / 0.8059 GB, free: 117.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/1.586, allocations: 7.645 MB / 0.8134 GB, free: 110.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/1.602, allocations: 8.832 MB / 0.822 GB, free: 101.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02757/1.629, allocations: 14.39 MB / 0.8361 GB, free: 86.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.629, allocations: 11.66 kB / 0.8361 GB, free: 86.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06237/1.692, allocations: 25.7 MB / 0.8612 GB, free: 60.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.692, allocations: 16 kB / 0.8612 GB, free: 60.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.692, allocations: 20 kB / 0.8612 GB, free: 60.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04778/1.74, allocations: 26.41 MB / 0.887 GB, free: 33.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007214/1.747, allocations: 1.492 MB / 0.8885 GB, free: 32.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3895/2.136, allocations: 103.8 MB / 0.9898 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/2.155, allocations: 2.506 MB / 0.9923 GB, free: 152.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004125/2.16, allocations: 377.5 kB / 0.9926 GB, free: 152 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.009781/2.169, allocations: 4.57 MB / 0.9971 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004448/2.174, allocations: 1.231 MB / 0.9983 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03649/2.21, allocations: 17.57 MB / 1.015 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/2.21, allocations: 42.28 kB / 1.016 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/2.21, allocations: 3.969 kB / 1.016 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.243e-05/2.21, allocations: 19.92 kB / 1.016 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07458/2.285, allocations: 32.44 MB / 1.047 GB, free: 114.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/2.285, allocations: 0 / 1.047 GB, free: 114.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/2.287, allocations: 457.4 kB / 1.048 GB, free: 113.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02478/2.312, allocations: 15.8 MB / 1.063 GB, free: 97.92 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001643/2.313, allocations: 119.9 kB / 1.063 GB, free: 97.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06714/2.38, allocations: 25.2 MB / 1.088 GB, free: 72.66 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.38, allocations: 3.75 kB / 1.088 GB, free: 72.66 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03408/2.414, allocations: 16.81 MB / 1.104 GB, free: 56.02 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01371/2.428, allocations: 2.86 MB / 1.107 GB, free: 53.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004638/2.433, allocations: 72 kB / 1.107 GB, free: 53.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/2.445, allocations: 1.315 MB / 1.108 GB, free: 51.82 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008696/2.446, allocations: 235.7 kB / 1.109 GB, free: 51.59 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00144/2.447, allocations: 147.9 kB / 1.109 GB, free: 51.45 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02114/2.469, allocations: 10.61 MB / 1.119 GB, free: 40.88 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.8e-07/2.469, allocations: 0 / 1.119 GB, free: 40.88 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01363/2.482, allocations: 2.971 MB / 1.122 GB, free: 38.02 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.03635/2.519, allocations: 17.5 MB / 1.139 GB, free: 20.46 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3182/2.837, allocations: 30.39 MB / 1.169 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/2.837, allocations: 3.75 kB / 1.169 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.05406/2.891, allocations: 15.04 MB / 1.183 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01714/2.908, allocations: 3.157 MB / 1.187 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2854/3.193, allocations: 143.1 MB / 1.326 GB, free: 69.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/3.205, allocations: 8.559 MB / 1.335 GB, free: 60.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01186/3.217, allocations: 3.779 MB / 1.338 GB, free: 57.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009312/3.227, allocations: 5.002 MB / 1.343 GB, free: 52.12 MB / 0.5919 GB Notification: Performance of SimCode: time 1.562e-06/3.227, allocations: 0 / 1.343 GB, free: 52.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9766/4.203, allocations: 335.5 MB / 1.671 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.67/62.87, allocations: 11.56 kB / 1.671 GB, free: 168.1 MB / 0.6075 GB " [Timeout remaining time 597] (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: 66.34527830399747] Failed to read output from testmodel.py, exit status != 0: 63.17393914000422 63.189827556 62.467044886 Calling exit ...