Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 79.75 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2697/0.391, allocations: 6.306 MB / 433.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.3959, allocations: 2.253 MB / 435.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.3972, allocations: 19.53 kB / 435.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.3997, allocations: 0.7578 MB / 436.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.4019, allocations: 0.6167 MB / 437 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4035, allocations: 0.5211 MB / 437.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.4058, allocations: 1.19 MB / 438.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.4069, allocations: 0.6731 MB / 439.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.4077, allocations: 483.1 kB / 439.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.4084, allocations: 0.5455 MB / 440.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.4086, allocations: 111.6 kB / 440.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.4094, allocations: 281.8 kB / 440.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.4096, allocations: 252.4 kB / 441 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.4102, allocations: 0.551 MB / 441.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.4125, allocations: 1.493 MB / 443 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4125, allocations: 0.5625 kB / 443 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4125, allocations: 1.125 kB / 443 MB, free: 3.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.4125, allocations: 0 / 443 MB, free: 3.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003261/0.4158, allocations: 1.475 MB / 444.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4158, allocations: 9.594 kB / 444.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.4161, allocations: 165.3 kB / 444.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.4187, allocations: 391.8 kB / 445.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4197, allocations: 0.5921 MB / 445.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/0.4198, allocations: 74.88 kB / 445.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.4199, allocations: 100.7 kB / 445.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.4219, allocations: 1.03 MB / 446.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.422, allocations: 1.828 kB / 446.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.422, allocations: 42.02 kB / 446.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.4221, allocations: 24.44 kB / 446.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.4238, allocations: 0.8624 MB / 447.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.4296, allocations: 3.621 MB / 451.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.4322, allocations: 1.819 MB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000996/0.4332, allocations: 421 kB / 453.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.4334, allocations: 178.1 kB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009706/0.4343, allocations: 499.3 kB / 454.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.414e-06/0.4343, allocations: 0 / 454.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004821/0.4392, allocations: 1.668 MB / 456 MB, free: 12.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.4393, allocations: 200.4 kB / 456.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.4401, allocations: 480.9 kB / 456.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/0.4402, allocations: 47.52 kB / 456.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.4406, allocations: 431.9 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.4409, allocations: 290 kB / 457.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.4412, allocations: 154.6 kB / 457.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.4415, allocations: 375 kB / 457.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.4421, allocations: 267.8 kB / 458.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.443, allocations: 494.6 kB / 458.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.4444, allocations: 0.7522 MB / 459.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4444, allocations: 1.156 kB / 459.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002396/0.4468, allocations: 1.02 MB / 460.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4469, allocations: 8.188 kB / 460.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4469, allocations: 5 kB / 460.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009379/0.4478, allocations: 270.2 kB / 460.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.4484, allocations: 144.1 kB / 460.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/0.4547, allocations: 4.875 MB / 465.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.4556, allocations: 99.16 kB / 465.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.4557, allocations: 37.33 kB / 465.9 MB, free: 4.789 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005406/0.4562, allocations: 248 kB / 466.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4563, allocations: 78.06 kB / 466.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.4585, allocations: 0.9563 MB / 467.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4586, allocations: 8.844 kB / 467.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4586, allocations: 0 / 467.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4586, allocations: 5.391 kB / 467.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.4621, allocations: 1.897 MB / 469 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4621, allocations: 1.078 kB / 469 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.4626, allocations: 100.4 kB / 469.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/0.4634, allocations: 260 kB / 469.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.4635, allocations: 20.83 kB / 469.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.4693, allocations: 4.81 MB / 474.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4693, allocations: 5.047 kB / 474.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.4722, allocations: 1.364 MB / 475.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.4726, allocations: 215.8 kB / 475.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.4727, allocations: 16.88 kB / 475.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4731, allocations: 42.75 kB / 475.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.4733, allocations: 77.8 kB / 475.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.4734, allocations: 21.38 kB / 476 MB, free: 13.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.4738, allocations: 334.5 kB / 476.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4738, allocations: 0 / 476.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001254/0.4751, allocations: 310.3 kB / 476.6 MB, free: 12.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003141/0.4782, allocations: 1.969 MB / 478.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.4804, allocations: 1.043 MB / 479.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4804, allocations: 0 / 479.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4816, allocations: 0.713 MB / 480.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.4823, allocations: 131.7 kB / 480.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.4937, allocations: 6.534 MB / 487 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.4944, allocations: 0.9943 MB / 488 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.4948, allocations: 87.11 kB / 488.1 MB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.4953, allocations: 331.3 kB / 488.4 MB, free: 1.688 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4953, allocations: 0 / 488.4 MB, free: 1.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/0.556, allocations: 19.72 MB / 0.4962 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/15.98, allocations: 18.56 kB / 0.4962 GB, free: 14.26 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.667125560808927] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 16.08668096596375 16.102242064 15.686709641 Calling exit ...