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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 106.5 kB / 21.23 MB, free: 0.5039 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.002139/0.002139, allocations: 209.9 kB / 24.54 MB, free: 3.859 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.6 MB / 258.3 MB, free: 8.059 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.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"}) [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.002311/0.002311, allocations: 64.77 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3036, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006197/0.3098, allocations: 4.222 MB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.3131, allocations: 1.755 MB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.3134, allocations: 12 kB / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.3158, allocations: 1.015 MB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.3165, allocations: 246.2 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3181, allocations: 0.7726 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.3188, allocations: 0.6027 MB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.3195, allocations: 440.6 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.3199, allocations: 274.9 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.3204, allocations: 330.7 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.3205, allocations: 52 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.3211, allocations: 299.7 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3213, allocations: 139.5 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.3216, allocations: 306.5 kB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3229, allocations: 0.9375 MB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3229, allocations: 4 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3229, allocations: 0 / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3229, allocations: 0 / 443.3 MB, free: 11.5 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003735/0.3266, allocations: 1.168 MB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3267, allocations: 12.03 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.3268, allocations: 114.6 kB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.328, allocations: 176.4 kB / 444.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3282, allocations: 178.5 kB / 444.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.3283, allocations: 50.38 kB / 445 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3284, allocations: 72.33 kB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3297, allocations: 0.7075 MB / 445.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.3297, allocations: 3.984 kB / 445.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.3298, allocations: 28 kB / 445.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3298, allocations: 16 kB / 445.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3311, allocations: 0.6023 MB / 446.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.3349, allocations: 2.24 MB / 448.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.3363, allocations: 0.6765 MB / 449.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.3368, allocations: 240.9 kB / 449.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.3369, allocations: 36.61 kB / 449.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.337, allocations: 43.22 kB / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.337, allocations: 0 / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001635/0.3386, allocations: 0.7084 MB / 450.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.3387, allocations: 115.5 kB / 450.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.339, allocations: 265 kB / 450.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.3391, allocations: 37.7 kB / 450.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3393, allocations: 264.7 kB / 451 MB, free: 3.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.3395, allocations: 237.9 kB / 451.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.3397, allocations: 122.6 kB / 451.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3399, allocations: 350.7 kB / 451.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.3404, allocations: 209.9 kB / 451.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.3409, allocations: 305.3 kB / 452.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3419, allocations: 0.5146 MB / 452.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3419, allocations: 0 / 452.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001275/0.3432, allocations: 0.6376 MB / 453.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3432, allocations: 4 kB / 453.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3432, allocations: 0 / 453.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3433, allocations: 8 kB / 453.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.344, allocations: 163.9 kB / 453.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.344, allocations: 4 kB / 453.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.3444, allocations: 71.55 kB / 453.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.3445, allocations: 27.98 kB / 453.6 MB, free: 0.8125 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.0002608/0.3448, allocations: 189.6 kB / 453.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3449, allocations: 39.77 kB / 453.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.3462, allocations: 0.6029 MB / 454.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3462, allocations: 4 kB / 454.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3462, allocations: 0 / 454.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3462, allocations: 11.88 kB / 454.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.3485, allocations: 1.272 MB / 455.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3485, allocations: 4 kB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.3491, allocations: 131.8 kB / 455.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3491, allocations: 0 / 455.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.3491, allocations: 23.92 kB / 455.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3491, allocations: 0 / 455.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3491, allocations: 0 / 455.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3509, allocations: 0.9785 MB / 456.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.3509, allocations: 43.66 kB / 456.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.351, allocations: 19.94 kB / 456.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.3514, allocations: 35.97 kB / 457 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3515, allocations: 40.58 kB / 457 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.3515, allocations: 19.98 kB / 457 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3517, allocations: 188.5 kB / 457.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 7.938 kB / 457.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.3523, allocations: 183.6 kB / 457.4 MB, free: 12.96 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 (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.002257/0.3546, allocations: 1.566 MB / 459 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3558, allocations: 0.5052 MB / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3558, allocations: 0 / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.3563, allocations: 247.6 kB / 459.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.3568, allocations: 48.8 kB / 459.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.3636, allocations: 4.21 MB / 464 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.3641, allocations: 0.8458 MB / 464.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.3644, allocations: 83.34 kB / 464.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.3648, allocations: 191.4 kB / 465.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3648, allocations: 0 / 465.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.4064, allocations: 9.871 MB / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.036, allocations: 3.875 kB / 475 MB, free: 11.38 MB / 382.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.596112853847444] Failed to read output from testmodel.py, exit status != 0: ['time', 'hollowCylinderAxialOuter.port_p.reference.gamma'] 9.116159566212445 9.140112967 8.812599722 Calling exit ...