Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001392/0.001392, allocations: 120.2 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.00155/0.00155, allocations: 205 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.512/1.512, 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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.002672/0.002672, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.116, allocations: 53.34 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006379/0.1224, allocations: 4.351 MB / 431.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2341/0.3565, allocations: 1.727 MB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.3568, allocations: 12.03 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.3591, allocations: 1.03 MB / 434.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008665/0.36, allocations: 258.7 kB / 434.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.3615, allocations: 0.776 MB / 435.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.3625, allocations: 0.6279 MB / 435.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.3634, allocations: 405.7 kB / 436.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.3639, allocations: 279.3 kB / 436.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.3643, allocations: 359.3 kB / 436.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.3644, allocations: 59.5 kB / 436.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.3652, allocations: 291.9 kB / 437.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3653, allocations: 140.4 kB / 437.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.3656, allocations: 330.5 kB / 437.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.3672, allocations: 0.9773 MB / 438.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3672, allocations: 0 / 438.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3672, allocations: 1.375 kB / 438.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.3672, allocations: 3.688 kB / 438.6 MB, free: 6.352 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003939/0.3711, allocations: 1.286 MB / 439.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3712, allocations: 8.906 kB / 439.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.3713, allocations: 120.9 kB / 440 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3727, allocations: 198.3 kB / 440.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.373, allocations: 239.8 kB / 440.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.3731, allocations: 56.84 kB / 440.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3732, allocations: 76.5 kB / 440.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.3748, allocations: 0.7749 MB / 441.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.3749, allocations: 0.7812 kB / 441.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.375, allocations: 33.39 kB / 441.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.375, allocations: 18.59 kB / 441.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.3768, allocations: 0.6674 MB / 442.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004439/0.3812, allocations: 3.26 MB / 445.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3834, allocations: 2.017 MB / 447.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.384, allocations: 298.8 kB / 447.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.3842, allocations: 181.8 kB / 447.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/0.3843, allocations: 45.98 kB / 447.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.3843, allocations: 4 kB / 447.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.003009/0.3873, allocations: 1.134 MB / 449 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3874, allocations: 114.7 kB / 449.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.3878, allocations: 281.5 kB / 449.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.3879, allocations: 35.98 kB / 449.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.3881, allocations: 298.4 kB / 449.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.3884, allocations: 259 kB / 450 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.3886, allocations: 137 kB / 450.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3889, allocations: 357.4 kB / 450.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.3894, allocations: 229.1 kB / 450.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.3901, allocations: 387.5 kB / 451 MB, free: 13.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3913, allocations: 0.6388 MB / 451.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3913, allocations: 1.031 kB / 451.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001865/0.3932, allocations: 0.8369 MB / 452.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3932, allocations: 5.719 kB / 452.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3932, allocations: 6.328 kB / 452.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.3937, allocations: 127 kB / 452.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.3944, allocations: 155.6 kB / 452.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.3983, allocations: 3.793 MB / 456.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.399, allocations: 89.03 kB / 456.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.399, allocations: 29.75 kB / 456.7 MB, free: 9.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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 {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000338/0.3994, allocations: 202.8 kB / 456.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3995, allocations: 43.36 kB / 457 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.4011, allocations: 0.7424 MB / 457.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.4012, allocations: 6.875 kB / 457.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4012, allocations: 2.75 kB / 457.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.4012, allocations: 10.56 kB / 457.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.4041, allocations: 1.487 MB / 459.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4041, allocations: 0 / 459.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.4046, allocations: 114.5 kB / 459.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.405, allocations: 119.1 kB / 459.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.405, allocations: 15.36 kB / 459.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.4085, allocations: 3.353 MB / 462.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4085, allocations: 0 / 462.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.4107, allocations: 1.124 MB / 463.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4109, allocations: 129.5 kB / 464.1 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.4109, allocations: 13.72 kB / 464.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.4113, allocations: 23.94 kB / 464.1 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.4115, allocations: 59.81 kB / 464.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.4115, allocations: 20 kB / 464.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.4118, allocations: 199.2 kB / 464.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4118, allocations: 0 / 464.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009854/0.4128, allocations: 218.4 kB / 464.6 MB, free: 4.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_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 (60): * Single equations (assignments): 58 * 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 {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/0.4154, allocations: 1.723 MB / 466.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.4172, allocations: 0.8419 MB / 467.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4172, allocations: 0 / 467.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.4181, allocations: 0.5363 MB / 467.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4187, allocations: 40.56 kB / 467.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.427, allocations: 4.757 MB / 472.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.4276, allocations: 0.8669 MB / 473.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003463/0.4279, allocations: 74.27 kB / 473.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.4283, allocations: 198.3 kB / 473.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4283, allocations: 0 / 473.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.476, allocations: 10.94 MB / 484.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.1, allocations: 7.812 kB / 484.6 MB, free: 5.559 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.737477297894657] Failed to read output from testmodel.py, exit status != 0: ['time', 'cuboidRight.port_p.reference.gamma'] 11.194284527096897 11.218114047 10.846029308 Calling exit ...