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.001957/0.001957, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.002227/0.002227, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.487/1.487, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.001988/0.001988, allocations: 71.83 kB / 365.2 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09768, allocations: 50.55 MB / 415.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01942/0.1171, allocations: 16.61 MB / 432.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1273, allocations: 4.692 MB / 437.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.1301, allocations: 135.6 kB / 437.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01673/0.1469, allocations: 7.169 MB / 444.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1975/0.3444, allocations: 1.94 MB / 446.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.3481, allocations: 1.54 MB / 447.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.3598, allocations: 9.497 MB / 457.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0266/0.3864, allocations: 20.84 MB / 478.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008166/0.3947, allocations: 5.242 MB / 483.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.4054, allocations: 5.899 MB / 489.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003795/0.4093, allocations: 1.359 MB / 490.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.4155, allocations: 1.676 MB / 492.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005321/0.4209, allocations: 2.795 MB / 495.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01346/0.4344, allocations: 5.662 MB / 0.4891 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02479/0.4592, allocations: 18.4 MB / 0.5071 GB, free: 12.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4593, allocations: 4 kB / 0.5071 GB, free: 12.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4593, allocations: 0 / 0.5071 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004501/0.4597, allocations: 0 / 0.5071 GB, free: 12.37 MB / 414.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.03569/0.4954, allocations: 12.33 MB / 0.5191 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4955, allocations: 12.03 kB / 0.5191 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004318/0.4998, allocations: 1.515 MB / 0.5206 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0369/0.5367, allocations: 6.197 MB / 0.5267 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.5494, allocations: 5.855 MB / 0.5324 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006653/0.5501, allocations: 0.6708 MB / 0.533 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/0.5532, allocations: 0.8769 MB / 0.5339 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/0.5864, allocations: 14.75 MB / 0.5483 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/0.5867, allocations: 7.953 kB / 0.5483 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.5883, allocations: 372.7 kB / 0.5487 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005332/0.5888, allocations: 0.4915 MB / 0.5491 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/0.617, allocations: 13.57 MB / 0.5624 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07951/0.6965, allocations: 44.72 MB / 0.6061 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.7111, allocations: 11.67 MB / 0.6175 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/0.7165, allocations: 3.178 MB / 0.6206 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.717, allocations: 289 kB / 0.6208 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.031e-05/0.7171, allocations: 78.56 kB / 0.6209 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=409): time 7.835e-06/0.7171, allocations: 7.938 kB / 0.6209 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409): time 0.3697/1.087, allocations: 9.619 MB / 0.6303 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/1.087, allocations: 121.1 kB / 0.6304 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/1.092, allocations: 3.155 MB / 0.6335 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006582/1.092, allocations: 90.92 kB / 0.6336 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.095, allocations: 3.837 MB / 0.6373 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.096, allocations: 1.457 MB / 0.6388 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/1.098, allocations: 1.148 MB / 0.6399 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/1.098, allocations: 307.6 kB / 0.6402 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/1.103, allocations: 2.843 MB / 0.643 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005303/1.108, allocations: 4.901 MB / 0.6477 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/1.117, allocations: 8.281 MB / 0.6558 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/1.118, allocations: 19.09 kB / 0.6558 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01408/1.132, allocations: 9.156 MB / 0.6648 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/1.132, allocations: 34.44 kB / 0.6648 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-05/1.132, allocations: 67.19 kB / 0.6649 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/1.135, allocations: 1.142 MB / 0.666 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/1.139, allocations: 1.297 MB / 0.6673 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.151, allocations: 10.81 MB / 0.6778 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/1.156, allocations: 0.7457 MB / 0.6786 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009648/1.157, allocations: 284.8 kB / 0.6788 GB, free: 130.6 MB / 0.5138 GB 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.005044/1.162, allocations: 3.423 MB / 0.6822 GB, free: 129 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007677/1.162, allocations: 362.9 kB / 0.6825 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009898/1.172, allocations: 6.915 MB / 0.6893 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007504/1.18, allocations: 5.77 MB / 0.6949 GB, free: 121.4 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/1.18, allocations: 16.7 kB / 0.6949 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/1.18, allocations: 19.92 kB / 0.6949 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.199, allocations: 15.27 MB / 0.7099 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.199, allocations: 12 kB / 0.7099 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/1.202, allocations: 0.7996 MB / 0.7106 GB, free: 105.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/1.205, allocations: 1.066 MB / 0.7117 GB, free: 104 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.205, allocations: 113.5 kB / 0.7118 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/1.216, allocations: 10.58 MB / 0.7221 GB, free: 93.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.216, allocations: 19.94 kB / 0.7221 GB, free: 93.05 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.229, allocations: 10.74 MB / 0.7326 GB, free: 82.08 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.231, allocations: 1.013 MB / 0.7336 GB, free: 81.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006658/1.232, allocations: 94 kB / 0.7337 GB, free: 80.96 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.234, allocations: 267.8 kB / 0.734 GB, free: 80.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005807/1.235, allocations: 351.2 kB / 0.7343 GB, free: 80.35 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.235, allocations: 152 kB / 0.7344 GB, free: 80.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002369/1.237, allocations: 2.125 MB / 0.7365 GB, free: 78.07 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/1.237, allocations: 0 / 0.7365 GB, free: 78.07 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005605/1.243, allocations: 2.251 MB / 0.7387 GB, free: 75.82 MB / 0.5138 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.01293/1.256, allocations: 11.47 MB / 0.7499 GB, free: 64.12 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.266, allocations: 7.478 MB / 0.7572 GB, free: 56.62 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/1.266, allocations: 4.312 kB / 0.7572 GB, free: 56.62 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005304/1.272, allocations: 3.67 MB / 0.7608 GB, free: 52.93 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.276, allocations: 0.8123 MB / 0.7616 GB, free: 52.16 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06736/1.343, allocations: 51.84 MB / 0.8122 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008281/1.351, allocations: 5.926 MB / 0.818 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005645/1.357, allocations: 2.158 MB / 0.8201 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/1.362, allocations: 3.03 MB / 0.8231 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/1.362, allocations: 0 / 0.8231 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3735/1.736, allocations: 112.9 MB / 0.9333 GB, free: 83.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.93, allocations: 12.19 kB / 0.9333 GB, free: 83.4 MB / 0.5294 GB " [Timeout remaining time 640] (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: 22.514274765970185] Failed to read output from testmodel.py, exit status != 0: ['time', 'lossPower_e', 'lossPower_m'] 20.064797430997714 20.078895026 19.616934362 Calling exit ...