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.001754/0.001754, allocations: 109 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.002052/0.002052, allocations: 213.6 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.002007/0.002007, allocations: 72.53 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01021/0.3221, allocations: 7.915 MB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.3281, allocations: 2.511 MB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.3295, allocations: 71.56 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.3307, allocations: 464.9 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.3336, allocations: 0.8782 MB / 443.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3347, allocations: 413.7 kB / 444.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.3394, allocations: 3.257 MB / 447.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.342, allocations: 1.58 MB / 449 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.3446, allocations: 1.457 MB / 450.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.3473, allocations: 1.712 MB / 452.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007538/0.3481, allocations: 360 kB / 452.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.3494, allocations: 499.8 kB / 453 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.3504, allocations: 0.9192 MB / 453.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.3526, allocations: 1.61 MB / 455.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005811/0.3584, allocations: 4.714 MB / 460.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3584, allocations: 0 / 460.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3584, allocations: 4 kB / 460.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3585, allocations: 0 / 460.3 MB, free: 10.43 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.01039/0.3689, allocations: 3.654 MB / 463.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.369, allocations: 15.97 kB / 463.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007717/0.3697, allocations: 441 kB / 464.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.3739, allocations: 0.7406 MB / 465.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/0.3781, allocations: 1.795 MB / 466.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.3783, allocations: 197.7 kB / 467.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/0.3789, allocations: 271.9 kB / 467.3 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.3862, allocations: 3.63 MB / 471 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.3863, allocations: 0 / 471 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.3866, allocations: 108 kB / 471.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3867, allocations: 97.44 kB / 471.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006517/0.3933, allocations: 3.101 MB / 474.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.4126, allocations: 10.13 MB / 484.4 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.4166, allocations: 1.771 MB / 486.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4181, allocations: 0.8645 MB / 487 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004178/0.4222, allocations: 2.191 MB / 489.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.4223, allocations: 51.44 kB / 489.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.4223, allocations: 0 / 489.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006316/0.4286, allocations: 2.503 MB / 491.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.4287, allocations: 89.92 kB / 491.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.431, allocations: 1.4 MB / 493.3 MB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.4311, allocations: 41.7 kB / 493.3 MB, free: 8.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009837/0.4321, allocations: 1.207 MB / 494.5 MB, free: 7.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.4324, allocations: 380.8 kB / 494.9 MB, free: 7.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.4328, allocations: 218.9 kB / 495.1 MB, free: 6.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.433, allocations: 357.9 kB / 495.5 MB, free: 6.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009717/0.4339, allocations: 0.5607 MB / 496 MB, free: 6.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.4351, allocations: 0.8451 MB / 496.9 MB, free: 5.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.4373, allocations: 1.463 MB / 498.3 MB, free: 3.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.4373, allocations: 4 kB / 498.3 MB, free: 3.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003621/0.441, allocations: 1.954 MB / 0.4886 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.441, allocations: 12.23 kB / 0.4886 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.441, allocations: 12 kB / 0.4886 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.4421, allocations: 403.8 kB / 0.489 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.4429, allocations: 211.6 kB / 0.4892 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008333/0.4513, allocations: 6.344 MB / 0.4954 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4524, allocations: 135.1 kB / 0.4955 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4525, allocations: 51.98 kB / 0.4955 GB, free: 10.14 MB / 414.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.001821/0.4543, allocations: 0.8721 MB / 0.4964 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.4547, allocations: 143.1 kB / 0.4965 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.458, allocations: 1.64 MB / 0.4981 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.458, allocations: 8 kB / 0.4981 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.458, allocations: 12 kB / 0.4981 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.458, allocations: 7.922 kB / 0.4982 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/0.4652, allocations: 3.894 MB / 0.502 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4652, allocations: 4 kB / 0.502 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.4658, allocations: 131.8 kB / 0.5021 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009894/0.4668, allocations: 393.6 kB / 0.5025 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.4669, allocations: 31.98 kB / 0.5025 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008295/0.4752, allocations: 6.319 MB / 0.5087 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4752, allocations: 4.062 kB / 0.5087 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.4796, allocations: 2.478 MB / 0.5111 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.4802, allocations: 174.9 kB / 0.5113 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4803, allocations: 28 kB / 0.5113 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.4811, allocations: 87.84 kB / 0.5114 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.4814, allocations: 104.6 kB / 0.5115 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/0.4815, allocations: 35.98 kB / 0.5115 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.483, allocations: 0.9756 MB / 0.5125 GB, free: 8.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.483, allocations: 0 / 0.5125 GB, free: 8.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002128/0.4851, allocations: 0.6891 MB / 0.5131 GB, free: 7.758 MB / 430.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.006837/0.492, allocations: 3.08 MB / 0.5161 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.497, allocations: 1.733 MB / 0.5178 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.497, allocations: 4 kB / 0.5178 GB, free: 2.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.4999, allocations: 1.086 MB / 0.5189 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.5028, allocations: 309.1 kB / 0.5192 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/0.5381, allocations: 16.09 MB / 0.5349 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2326/0.7707, allocations: 2.182 MB / 0.537 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001231/0.7719, allocations: 341.8 kB / 0.5373 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.773, allocations: 0.8803 MB / 0.5382 GB, free: 101.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.773, allocations: 0 / 0.5382 GB, free: 101.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/0.8526, allocations: 40.16 MB / 0.5774 GB, free: 70.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.45, allocations: 19.11 kB / 0.5774 GB, free: 70.56 MB / 446.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: 15.971829029265791] 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.553886360954493 13.56793899 13.206275985 Calling exit ...