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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB 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.001903/0.001903, allocations: 59.91 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 50.54 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006091/0.296, allocations: 4.347 MB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.2991, allocations: 1.709 MB / 415.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.2996, allocations: 12 kB / 415.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.3021, allocations: 1.034 MB / 416.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007894/0.3029, allocations: 254.2 kB / 416.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.3045, allocations: 0.7629 MB / 417.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.3053, allocations: 0.6299 MB / 417.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.3062, allocations: 0.5052 MB / 418.3 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.3067, allocations: 278.9 kB / 418.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.3072, allocations: 370.5 kB / 419 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.3073, allocations: 56 kB / 419 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007525/0.308, allocations: 287.7 kB / 419.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3082, allocations: 139.5 kB / 419.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.3085, allocations: 326.4 kB / 419.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.3098, allocations: 0.9796 MB / 420.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3098, allocations: 0 / 420.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3098, allocations: 0 / 420.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3099, allocations: 0 / 420.7 MB, free: 5.664 MB / 334.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.00378/0.3137, allocations: 1.294 MB / 422 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3137, allocations: 8.031 kB / 422 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.3139, allocations: 118.8 kB / 422.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3152, allocations: 196.4 kB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3155, allocations: 239.5 kB / 422.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.3156, allocations: 58.38 kB / 422.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3157, allocations: 76.38 kB / 422.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3171, allocations: 0.77 MB / 423.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.3171, allocations: 7.891 kB / 423.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.3172, allocations: 32 kB / 423.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3172, allocations: 16 kB / 423.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3186, allocations: 0.6649 MB / 424.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.323, allocations: 3.266 MB / 427.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.3256, allocations: 2.075 MB / 429.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.3262, allocations: 324.5 kB / 429.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.3264, allocations: 190.8 kB / 430 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3265, allocations: 43.22 kB / 430.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.417e-06/0.3265, allocations: 4 kB / 430.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002679/0.3292, allocations: 1.138 MB / 431.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.3293, allocations: 115.4 kB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3296, allocations: 290.3 kB / 431.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3297, allocations: 33.7 kB / 431.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3299, allocations: 296.5 kB / 431.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.3301, allocations: 265.8 kB / 432.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.3303, allocations: 138.6 kB / 432.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3305, allocations: 350.7 kB / 432.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.331, allocations: 233.9 kB / 432.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.3317, allocations: 382.3 kB / 433.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3329, allocations: 0.6337 MB / 433.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3329, allocations: 0 / 433.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001643/0.3345, allocations: 0.8463 MB / 434.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3346, allocations: 8 kB / 434.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3346, allocations: 0 / 434.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.335, allocations: 125.7 kB / 434.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3357, allocations: 155.8 kB / 435 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.3393, allocations: 3.798 MB / 438.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.3399, allocations: 87.5 kB / 438.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.3399, allocations: 31.98 kB / 439 MB, free: 2.16 MB / 350.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.0002887/0.3402, allocations: 189.7 kB / 439.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3404, allocations: 43.72 kB / 439.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.342, allocations: 0.753 MB / 439.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.342, allocations: 8 kB / 439.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.342, allocations: 0 / 439.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3421, allocations: 7.922 kB / 440 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.3447, allocations: 1.489 MB / 441.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3447, allocations: 4 kB / 441.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.3452, allocations: 115.9 kB / 441.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.3455, allocations: 117.9 kB / 441.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.3455, allocations: 16 kB / 441.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.3485, allocations: 3.358 MB / 445 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3485, allocations: 0 / 445 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.3505, allocations: 1.125 MB / 446.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3507, allocations: 132.7 kB / 446.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.3507, allocations: 12 kB / 446.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3511, allocations: 23.98 kB / 446.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3513, allocations: 56.64 kB / 446.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.3513, allocations: 27.92 kB / 446.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3515, allocations: 190 kB / 446.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3515, allocations: 3.938 kB / 446.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.3524, allocations: 223.6 kB / 446.8 MB, free: 9.875 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.002421/0.3548, allocations: 1.72 MB / 448.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3565, allocations: 0.8835 MB / 449.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3565, allocations: 0 / 449.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008329/0.3573, allocations: 0.5681 MB / 450 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.3578, allocations: 36.56 kB / 450 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/0.3651, allocations: 4.758 MB / 454.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.3656, allocations: 0.8616 MB / 455.7 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.3659, allocations: 80.34 kB / 455.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.3662, allocations: 203.4 kB / 455.9 MB, free: 464 kB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3663, allocations: 0 / 455.9 MB, free: 464 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.4094, allocations: 10.64 MB / 466.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.1, allocations: 4.188 kB / 466.6 MB, free: 6.035 MB / 382.1 MB (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)