Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001881/0.001881, 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.00254/0.00254, 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.532/1.532, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",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.002015/0.002015, allocations: 79.81 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1143, allocations: 53.33 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01005/0.1244, allocations: 7.893 MB / 434.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.13, allocations: 2.495 MB / 437.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.1315, allocations: 75.56 kB / 437.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1333, allocations: 464.9 kB / 437.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.1369, allocations: 0.8703 MB / 438.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1384, allocations: 399.2 kB / 439.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005489/0.1439, allocations: 3.248 MB / 442.4 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/0.1478, allocations: 2.13 MB / 444.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.1503, allocations: 1.453 MB / 446 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2577/0.408, allocations: 1.719 MB / 447.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.4097, allocations: 358.7 kB / 448.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.412, allocations: 493.5 kB / 448.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.4133, allocations: 0.9078 MB / 449.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004114/0.4174, allocations: 1.621 MB / 451.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00904/0.4264, allocations: 4.72 MB / 455.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4264, allocations: 0 / 455.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4264, allocations: 1.438 kB / 455.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002264/0.4267, allocations: 0.8438 kB / 455.8 MB, free: 9.805 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01365/0.4403, allocations: 3.717 MB / 459.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4404, allocations: 11.14 kB / 459.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008918/0.4412, allocations: 439.1 kB / 460 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.4456, allocations: 0.7438 MB / 460.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.4499, allocations: 1.853 MB / 462.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.4501, allocations: 202.6 kB / 462.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.4509, allocations: 264.7 kB / 463 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006783/0.4577, allocations: 3.629 MB / 466.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.4577, allocations: 1.031 kB / 466.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.458, allocations: 106.8 kB / 466.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.4581, allocations: 106.8 kB / 466.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005441/0.4635, allocations: 3.107 MB / 470 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.4811, allocations: 10.27 MB / 480.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005873/0.4869, allocations: 4.478 MB / 484.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.4886, allocations: 0.8725 MB / 485.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005193/0.4938, allocations: 2.653 MB / 488.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.4939, allocations: 49.84 kB / 488.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.4939, allocations: 0.875 kB / 488.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006532/0.5004, allocations: 2.649 MB / 491 MB, free: 5.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.5005, allocations: 89.3 kB / 491 MB, free: 5.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.5026, allocations: 1.399 MB / 492.4 MB, free: 4.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5027, allocations: 52.98 kB / 492.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009401/0.5036, allocations: 1.202 MB / 493.7 MB, free: 3.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.504, allocations: 386.7 kB / 494.1 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.5043, allocations: 220.5 kB / 494.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5045, allocations: 356.1 kB / 494.6 MB, free: 2.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.5054, allocations: 0.5591 MB / 495.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.5065, allocations: 0.8508 MB / 496 MB, free: 1.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5085, allocations: 1.459 MB / 497.5 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5085, allocations: 2.406 kB / 497.5 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003588/0.5121, allocations: 1.96 MB / 499.5 MB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5121, allocations: 12.03 kB / 499.5 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.5121, allocations: 8 kB / 499.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5132, allocations: 395.8 kB / 499.9 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.514, allocations: 222.2 kB / 0.4884 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/0.5221, allocations: 6.541 MB / 0.4948 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.5234, allocations: 143 kB / 0.4949 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5235, allocations: 48 kB / 0.4949 GB, free: 7.223 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * 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): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.5253, allocations: 0.878 MB / 0.4958 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.5257, allocations: 143.1 kB / 0.4959 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.5289, allocations: 1.635 MB / 0.4975 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5289, allocations: 8 kB / 0.4975 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5289, allocations: 14.53 kB / 0.4975 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.5289, allocations: 7.969 kB / 0.4976 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00706/0.536, allocations: 3.911 MB / 0.5014 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.536, allocations: 0 / 0.5014 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.5366, allocations: 139 kB / 0.5015 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009958/0.5376, allocations: 397.4 kB / 0.5019 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.5376, allocations: 31.98 kB / 0.5019 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007964/0.5456, allocations: 6.519 MB / 0.5083 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5456, allocations: 3.984 kB / 0.5083 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.5501, allocations: 2.473 MB / 0.5107 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.5506, allocations: 251.9 kB / 0.5109 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.5508, allocations: 28 kB / 0.511 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.5516, allocations: 83.91 kB / 0.511 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.5519, allocations: 103.5 kB / 0.5111 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.552, allocations: 31.98 kB / 0.5112 GB, free: 6.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.5535, allocations: 0.9834 MB / 0.5121 GB, free: 5.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5535, allocations: 0 / 0.5121 GB, free: 5.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002134/0.5556, allocations: 0.6814 MB / 0.5128 GB, free: 4.621 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * 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): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004479/0.5601, allocations: 3.086 MB / 0.5158 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.5634, allocations: 1.737 MB / 0.5175 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.5634, allocations: 4 kB / 0.5175 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.5653, allocations: 1.091 MB / 0.5186 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.5672, allocations: 310.4 kB / 0.5189 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/0.5936, allocations: 16.04 MB / 0.5345 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/0.5966, allocations: 2.198 MB / 0.5367 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001084/0.5977, allocations: 339 kB / 0.537 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.5992, allocations: 0.882 MB / 0.5379 GB, free: 10.55 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5992, allocations: 4 kB / 0.5379 GB, free: 10.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09725/0.6964, allocations: 39.29 MB / 0.5762 GB, free: 3.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.55, allocations: 3.938 kB / 0.5763 GB, free: 3.676 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.245889264158905] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_e.singlePhaseElectroMagneticConverter[1].Phi.re', 'converter_e.singlePhaseElectroMagneticConverter[2].Phi.im', 'loss_m.Phi.im', 'loss_m.Phi.re'] 13.658737560734153 13.681056372 13.24975537 Calling exit ...