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.001871/0.001871, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002768/0.002768, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8.078 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.001996/0.001996, allocations: 64.55 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006033/0.2994, allocations: 4.384 MB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.3026, allocations: 1.744 MB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.3028, allocations: 15.94 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.3054, allocations: 1.027 MB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007235/0.3061, allocations: 258.2 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.3078, allocations: 0.7817 MB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.3086, allocations: 0.6338 MB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.3093, allocations: 470.6 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.3097, allocations: 282.9 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.3102, allocations: 362.5 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.3103, allocations: 56 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.3109, allocations: 291.7 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.311, allocations: 143.5 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.3113, allocations: 322.4 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3125, allocations: 0.9842 MB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3125, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3125, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3125, allocations: 0 / 443.6 MB, free: 11.16 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.003684/0.3162, allocations: 1.207 MB / 444.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3163, allocations: 12.03 kB / 444.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3164, allocations: 122.8 kB / 445 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.3177, allocations: 196.4 kB / 445.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3179, allocations: 185.6 kB / 445.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.318, allocations: 58.36 kB / 445.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3181, allocations: 72.38 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3195, allocations: 0.7739 MB / 446.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.3195, allocations: 0 / 446.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.3196, allocations: 28 kB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.3196, allocations: 20 kB / 446.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.321, allocations: 0.6688 MB / 447 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3253, allocations: 2.872 MB / 449.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3271, allocations: 0.8283 MB / 450.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.3277, allocations: 291.5 kB / 450.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3278, allocations: 36.89 kB / 451 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3279, allocations: 43.16 kB / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.604e-06/0.3279, allocations: 0 / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002624/0.3305, allocations: 0.9794 MB / 452 MB, free: 2.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3306, allocations: 119.3 kB / 452.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.3309, allocations: 277.8 kB / 452.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.3309, allocations: 37.7 kB / 452.4 MB, free: 2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.3312, allocations: 300.6 kB / 452.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.3314, allocations: 265.7 kB / 453 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.3316, allocations: 138.6 kB / 453.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3318, allocations: 354.7 kB / 453.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.3323, allocations: 225.9 kB / 453.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.3329, allocations: 389 kB / 454.1 MB, free: 296 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3341, allocations: 0.6415 MB / 454.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3341, allocations: 0 / 454.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001679/0.3358, allocations: 0.8347 MB / 455.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3358, allocations: 8.031 kB / 455.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3358, allocations: 4 kB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.3362, allocations: 125.6 kB / 455.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3369, allocations: 159.8 kB / 455.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.3408, allocations: 3.579 MB / 459.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.3414, allocations: 87.38 kB / 459.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.3415, allocations: 32 kB / 459.5 MB, free: 10.53 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.0002987/0.3418, allocations: 199.3 kB / 459.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3419, allocations: 43.72 kB / 459.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3435, allocations: 0.7413 MB / 460.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3435, allocations: 8 kB / 460.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3435, allocations: 0 / 460.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3435, allocations: 11.92 kB / 460.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.3462, allocations: 1.461 MB / 462 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3462, allocations: 0 / 462 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.3468, allocations: 111.9 kB / 462.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.3472, allocations: 113.6 kB / 462.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.3472, allocations: 19.94 kB / 462.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.3503, allocations: 3.138 MB / 465.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3503, allocations: 4.062 kB / 465.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.3523, allocations: 1.125 MB / 466.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.3524, allocations: 43.67 kB / 466.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.3525, allocations: 19.94 kB / 466.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3529, allocations: 23.98 kB / 466.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.353, allocations: 60.53 kB / 466.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.353, allocations: 28.05 kB / 466.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.3533, allocations: 193.2 kB / 466.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3533, allocations: 0 / 466.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008281/0.3541, allocations: 219.6 kB / 467.1 MB, free: 2.645 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.002539/0.3566, allocations: 1.724 MB / 468.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.3584, allocations: 0.8489 MB / 469.6 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3584, allocations: 0 / 469.6 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.3593, allocations: 0.5438 MB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3598, allocations: 36.81 kB / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.3673, allocations: 4.745 MB / 475 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.3679, allocations: 0.8577 MB / 475.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.3682, allocations: 84.34 kB / 475.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.3685, allocations: 203.4 kB / 476.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3685, allocations: 0 / 476.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.4179, allocations: 11.4 MB / 487.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.17, allocations: 3.125 kB / 487.5 MB, free: 14.04 MB / 398.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.784363565035164] Failed to read output from testmodel.py, exit status != 0: ['time', 'cuboidRight.port_p.reference.gamma'] 11.26596388919279 11.291338049 10.973920245 Calling exit ...