Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001775/0.001775, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002479/0.002479, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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.002969/0.002969, allocations: 64.78 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3018, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02011/0.3219, allocations: 16.7 MB / 448.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.333, allocations: 4.727 MB / 453.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.3367, allocations: 159.2 kB / 453.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.3543, allocations: 7.255 MB / 460.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.362, allocations: 2.035 MB / 462.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.3668, allocations: 1.584 MB / 464.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.3813, allocations: 9.618 MB / 474 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02609/0.4074, allocations: 13.59 MB / 487.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009227/0.4167, allocations: 5.389 MB / 493 MB, free: 9.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.4275, allocations: 5.981 MB / 499 MB, free: 3.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003762/0.4312, allocations: 1.363 MB / 0.4886 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.4369, allocations: 1.664 MB / 0.4902 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005211/0.4421, allocations: 2.806 MB / 0.493 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.4534, allocations: 5.354 MB / 0.4982 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02636/0.4798, allocations: 18.41 MB / 0.5162 GB, free: 5.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.689e-06/0.4798, allocations: 0 / 0.5162 GB, free: 5.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4798, allocations: 0 / 0.5162 GB, free: 5.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000669/0.4805, allocations: 0 / 0.5162 GB, free: 5.82 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04689/0.5274, allocations: 12.26 MB / 0.5282 GB, free: 9.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.965e-05/0.5275, allocations: 12.03 kB / 0.5282 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006899/0.5344, allocations: 1.509 MB / 0.5296 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03651/0.5709, allocations: 6.206 MB / 0.5357 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4603/1.031, allocations: 5.921 MB / 0.5415 GB, free: 85.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/1.032, allocations: 0.666 MB / 0.5421 GB, free: 85.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003666/1.035, allocations: 0.8794 MB / 0.543 GB, free: 84.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03595/1.071, allocations: 14.76 MB / 0.5574 GB, free: 79.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/1.072, allocations: 11.31 kB / 0.5574 GB, free: 79.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002912/1.075, allocations: 369.7 kB / 0.5578 GB, free: 79.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/1.075, allocations: 498 kB / 0.5582 GB, free: 79.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.103, allocations: 13.58 MB / 0.5715 GB, free: 66.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07255/1.175, allocations: 43.5 MB / 0.614 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009977/1.185, allocations: 6.012 MB / 0.6198 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004478/1.19, allocations: 2.859 MB / 0.6226 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/1.19, allocations: 134.4 kB / 0.6228 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/1.19, allocations: 78.56 kB / 0.6228 GB, free: 14.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.654e-06/1.19, allocations: 3.938 kB / 0.6228 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02076/1.211, allocations: 9.439 MB / 0.6321 GB, free: 4.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.211, allocations: 121.1 kB / 0.6322 GB, free: 4.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/1.217, allocations: 3.163 MB / 0.6353 GB, free: 1.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007357/1.217, allocations: 89.7 kB / 0.6354 GB, free: 1.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003341/1.221, allocations: 3.834 MB / 0.6391 GB, free: 13.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002445/1.223, allocations: 1.464 MB / 0.6405 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003867/1.227, allocations: 1.152 MB / 0.6417 GB, free: 11.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/1.227, allocations: 305.1 kB / 0.6419 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006099/1.233, allocations: 2.845 MB / 0.6447 GB, free: 7.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008085/1.241, allocations: 4.896 MB / 0.6495 GB, free: 2.031 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/1.255, allocations: 8.278 MB / 0.6576 GB, free: 8.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.571e-05/1.255, allocations: 20 kB / 0.6576 GB, free: 8.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01981/1.275, allocations: 9.116 MB / 0.6665 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/1.275, allocations: 32 kB / 0.6665 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.275, allocations: 68 kB / 0.6666 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/1.279, allocations: 1.154 MB / 0.6677 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/1.284, allocations: 1.295 MB / 0.669 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.302, allocations: 10.6 MB / 0.6793 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/1.307, allocations: 0.7491 MB / 0.6801 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.308, allocations: 288.1 kB / 0.6804 GB, free: 1.262 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00875/1.317, allocations: 3.427 MB / 0.6837 GB, free: 13.82 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.318, allocations: 361.7 kB / 0.684 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.333, allocations: 6.878 MB / 0.6908 GB, free: 6.559 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01056/1.344, allocations: 5.721 MB / 0.6963 GB, free: 0.8242 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/1.344, allocations: 16 kB / 0.6964 GB, free: 0.8086 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/1.344, allocations: 23.86 kB / 0.6964 GB, free: 0.7852 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03492/1.379, allocations: 15.29 MB / 0.7113 GB, free: 1.281 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.779e-05/1.379, allocations: 15.98 kB / 0.7113 GB, free: 1.266 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/1.382, allocations: 0.7958 MB / 0.7121 GB, free: 480 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/1.386, allocations: 1.064 MB / 0.7131 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006594/1.387, allocations: 112 kB / 0.7133 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.404, allocations: 10.38 MB / 0.7234 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/1.404, allocations: 19.94 kB / 0.7234 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02162/1.425, allocations: 10.69 MB / 0.7339 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/1.428, allocations: 0.9649 MB / 0.7348 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.43, allocations: 100.2 kB / 0.7349 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.433, allocations: 271.7 kB / 0.7351 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.434, allocations: 371 kB / 0.7355 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005511/1.434, allocations: 148 kB / 0.7356 GB, free: 7.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004729/1.439, allocations: 2.125 MB / 0.7377 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.439, allocations: 0 / 0.7377 GB, free: 5.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01001/1.449, allocations: 2.258 MB / 0.7399 GB, free: 3.492 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2804/1.729, allocations: 11.42 MB / 0.7511 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.74, allocations: 7.171 MB / 0.7581 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.238e-05/1.74, allocations: 3.969 kB / 0.7581 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0057/1.746, allocations: 3.411 MB / 0.7614 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.751, allocations: 0.8021 MB / 0.7622 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08956/1.84, allocations: 51.93 MB / 0.8129 GB, free: 131.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009266/1.849, allocations: 5.938 MB / 0.8187 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005876/1.855, allocations: 2.158 MB / 0.8208 GB, free: 123.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00464/1.86, allocations: 3.03 MB / 0.8238 GB, free: 120.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.245e-06/1.86, allocations: 0 / 0.8238 GB, free: 120.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/2.033, allocations: 120.6 MB / 0.9416 GB, free: 480 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/21.4, allocations: 3.984 kB / 0.9416 GB, free: 476 kB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.204501485917717] Failed to read output from testmodel.py, exit status != 0: ['time', 'lossPower_e', 'lossPower_m'] 21.55052603268996 21.746752761 21.263756799 Calling exit ...