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.CylinderSections.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.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 207.8 kB / 18.74 MB, free: 4.312 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.545/1.545, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.002367/0.002367, allocations: 63.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2863, 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.CylinderSections): time 0.005812/0.2922, allocations: 4.183 MB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2956, allocations: 1.728 MB / 415 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.2962, allocations: 12 kB / 415 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.2988, allocations: 1.011 MB / 416 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2999, allocations: 242.2 kB / 416.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.3019, allocations: 0.7619 MB / 417 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3031, allocations: 0.6105 MB / 417.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000952/0.304, allocations: 495.4 kB / 418.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005244/0.3046, allocations: 263 kB / 418.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.3051, allocations: 338.6 kB / 418.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.3052, allocations: 52 kB / 418.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007357/0.3059, allocations: 295.7 kB / 419 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3061, allocations: 127.6 kB / 419.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.3064, allocations: 310.5 kB / 419.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.308, allocations: 0.9446 MB / 420.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.308, allocations: 0 / 420.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.308, allocations: 0 / 420.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.308, allocations: 0 / 420.4 MB, free: 5.996 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003908/0.312, allocations: 1.24 MB / 421.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.312, allocations: 12.03 kB / 421.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.3122, allocations: 110.6 kB / 421.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.3135, allocations: 176.4 kB / 421.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3138, allocations: 248.3 kB / 422.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.3138, allocations: 54.38 kB / 422.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.314, allocations: 64.33 kB / 422.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3153, allocations: 0.7036 MB / 423 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3153, allocations: 0 / 423 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.3154, allocations: 35.98 kB / 423 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.3154, allocations: 16 kB / 423 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3168, allocations: 0.61 MB / 423.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.3205, allocations: 2.313 MB / 426 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.3225, allocations: 1.629 MB / 427.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.323, allocations: 275.4 kB / 427.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.3233, allocations: 186.6 kB / 428 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.3233, allocations: 43.12 kB / 428.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.3234, allocations: 0 / 428.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001657/0.325, allocations: 0.7058 MB / 428.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.3251, allocations: 111.4 kB / 428.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3255, allocations: 268.9 kB / 429.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.3255, allocations: 37.7 kB / 429.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3257, allocations: 272.7 kB / 429.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.3259, allocations: 226 kB / 429.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3261, allocations: 122.6 kB / 429.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3263, allocations: 350.7 kB / 430.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.3268, allocations: 213.9 kB / 430.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.3274, allocations: 293.4 kB / 430.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3285, allocations: 0.5182 MB / 431.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3285, allocations: 0 / 431.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001323/0.3298, allocations: 0.6336 MB / 431.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.3299, allocations: 8 kB / 431.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3299, allocations: 192 / 431.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3299, allocations: 8 kB / 431.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.3307, allocations: 155.8 kB / 432 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3307, allocations: 11.98 kB / 432 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.3312, allocations: 71.5 kB / 432.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.3312, allocations: 27.98 kB / 432.1 MB, free: 9.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.3316, allocations: 193.5 kB / 432.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3317, allocations: 43.77 kB / 432.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3331, allocations: 0.6006 MB / 432.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3331, allocations: 8 kB / 432.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3331, allocations: 0 / 432.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3331, allocations: 0 / 432.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3355, allocations: 1.302 MB / 434.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.3356, allocations: 3.984 kB / 434.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.3361, allocations: 131.8 kB / 434.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3361, allocations: 0 / 434.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3362, allocations: 15.94 kB / 434.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.3362, allocations: 4 kB / 434.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3362, allocations: 0 / 434.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.3381, allocations: 0.9832 MB / 435.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3383, allocations: 116.8 kB / 435.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.3384, allocations: 27.98 kB / 435.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.3387, allocations: 23.98 kB / 435.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3389, allocations: 44.44 kB / 435.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3389, allocations: 16 kB / 435.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.3391, allocations: 192.5 kB / 435.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3391, allocations: 0 / 435.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.3398, allocations: 183.6 kB / 435.9 MB, free: 5.68 MB / 350.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0023/0.3421, allocations: 1.57 MB / 437.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.3434, allocations: 0.539 MB / 438.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3434, allocations: 0 / 438.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.344, allocations: 275 kB / 438.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.3446, allocations: 53.98 kB / 438.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.352, allocations: 4.191 MB / 442.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3526, allocations: 0.842 MB / 443.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00038/0.353, allocations: 83.39 kB / 443.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.3533, allocations: 183.4 kB / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.685e-06/0.3533, allocations: 0 / 443.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.3913, allocations: 9.27 MB / 452.9 MB, free: 4.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.107, allocations: 8.5 kB / 452.9 MB, free: 4.723 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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_CylinderSections.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)