Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001758/0.001758, 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.002179/0.002179, 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001898/0.001898, allocations: 68.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3332, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007853/0.341, allocations: 5.675 MB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.3456, allocations: 1.904 MB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008509/0.3465, allocations: 20 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.3506, allocations: 1.621 MB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.3524, allocations: 0.6022 MB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.3534, allocations: 414.4 kB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3544, allocations: 0.8017 MB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.3556, allocations: 0.7587 MB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.3562, allocations: 366.7 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.3568, allocations: 486.2 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3569, allocations: 83.88 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.3574, allocations: 247.8 kB / 444.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3576, allocations: 179.4 kB / 445 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.358, allocations: 433.9 kB / 445.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.3596, allocations: 1.176 MB / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3596, allocations: 0 / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3596, allocations: 0 / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3596, allocations: 0 / 446.6 MB, free: 8.105 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003245/0.3628, allocations: 1.296 MB / 447.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3629, allocations: 12.03 kB / 447.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.3631, allocations: 144.3 kB / 448.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.3674, allocations: 0.6208 MB / 448.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.3682, allocations: 365.4 kB / 449.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.3683, allocations: 70.38 kB / 449.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3684, allocations: 96.36 kB / 449.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3702, allocations: 0.9977 MB / 450.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.3702, allocations: 0 / 450.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.3703, allocations: 36 kB / 450.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.3704, allocations: 28 kB / 450.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.372, allocations: 0.9369 MB / 451.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.3769, allocations: 3.162 MB / 454.4 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3787, allocations: 0.7634 MB / 455.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.3792, allocations: 253.9 kB / 455.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3793, allocations: 32.53 kB / 455.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3793, allocations: 43.16 kB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.285e-06/0.3793, allocations: 4 kB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001455/0.3808, allocations: 0.724 MB / 456.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.3809, allocations: 111.5 kB / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.3812, allocations: 269.8 kB / 456.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.3812, allocations: 37.7 kB / 456.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.3815, allocations: 404.1 kB / 457 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3817, allocations: 234 kB / 457.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.3819, allocations: 142.5 kB / 457.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3821, allocations: 346.8 kB / 457.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.3825, allocations: 217.9 kB / 457.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.3831, allocations: 447.4 kB / 458.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3843, allocations: 0.6929 MB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3843, allocations: 8 kB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001337/0.3856, allocations: 0.7507 MB / 459.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3856, allocations: 11.94 kB / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3856, allocations: 8 kB / 459.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.3857, allocations: 12 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.3864, allocations: 192.1 kB / 460 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.3864, allocations: 19.94 kB / 460 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.3868, allocations: 83.39 kB / 460.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.3868, allocations: 28 kB / 460.2 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003134/0.3872, allocations: 229.6 kB / 460.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3873, allocations: 39.7 kB / 460.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3885, allocations: 0.654 MB / 461.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.3885, allocations: 8 kB / 461.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3885, allocations: 4 kB / 461.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3885, allocations: 3.984 kB / 461.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.391, allocations: 1.455 MB / 462.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.391, allocations: 4 kB / 462.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.3916, allocations: 139.8 kB / 462.7 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3916, allocations: 4 kB / 462.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.3916, allocations: 20 kB / 462.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3916, allocations: 3.938 kB / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3916, allocations: 7.938 kB / 462.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.3933, allocations: 1.124 MB / 463.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.3934, allocations: 47.67 kB / 463.9 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.3935, allocations: 12 kB / 463.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.3938, allocations: 23.92 kB / 463.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3939, allocations: 48.56 kB / 464 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.3939, allocations: 24.06 kB / 464 MB, free: 6.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3941, allocations: 185.2 kB / 464.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 0 / 464.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000779/0.3949, allocations: 231.3 kB / 464.4 MB, free: 5.738 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * 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.002189/0.3971, allocations: 1.718 MB / 466.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3982, allocations: 0.5731 MB / 466.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3982, allocations: 0 / 466.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3987, allocations: 271.6 kB / 467 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.3992, allocations: 43.14 kB / 467 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/0.4061, allocations: 4.843 MB / 471.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.4067, allocations: 0.8967 MB / 472.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.407, allocations: 80.39 kB / 472.8 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.4073, allocations: 259.3 kB / 473.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4073, allocations: 0 / 473.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.4445, allocations: 10.23 MB / 483.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/9.315, allocations: 16 kB / 483.3 MB, free: 2.605 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.860417683143169] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.pin_p.reference.gamma', 'voltageSource.pin_p.reference.gamma', 'idealTransformer.v1.re', 'idealTransformer.v1.im', 'idealTransformer.i1.re', 'idealTransformer.i1.im', 'idealTransformer.v2.re', 'idealTransformer.v2.im', 'idealTransformer.i2.re', 'idealTransformer.i2.im'] 9.391635779291391 9.418931919 9.054405846 Calling exit ...