Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.00138/0.00138, allocations: 105.1 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.00158/0.00158, allocations: 213.9 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",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.00207/0.00207, allocations: 72.77 kB / 378.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 53.38 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005909/0.3139, allocations: 3.481 MB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.3175, allocations: 1.679 MB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3178, allocations: 8 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.3213, allocations: 2.663 MB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009703/0.3223, allocations: 226.5 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.3233, allocations: 321.6 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.3258, allocations: 1.825 MB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.3261, allocations: 100.4 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.3266, allocations: 321 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.3272, allocations: 366.6 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.374e-05/0.3273, allocations: 48 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.3275, allocations: 87.98 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007561/0.3283, allocations: 0.8491 MB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.3292, allocations: 0.9385 MB / 444.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.3323, allocations: 2.658 MB / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3323, allocations: 0 / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3323, allocations: 4 kB / 447.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.815e-05/0.3323, allocations: 0 / 447.5 MB, free: 7.309 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004977/0.3373, allocations: 2.836 MB / 450.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3373, allocations: 11.97 kB / 450.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.316e-05/0.3374, allocations: 78.7 kB / 450.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/0.338, allocations: 306.9 kB / 450.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.3411, allocations: 1.806 MB / 452.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3412, allocations: 110.4 kB / 452.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.3414, allocations: 51.98 kB / 452.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.3422, allocations: 395 kB / 453 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3422, allocations: 0 / 453 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.3423, allocations: 12 kB / 453.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3423, allocations: 8 kB / 453.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.343, allocations: 335.7 kB / 453.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.3479, allocations: 2.861 MB / 456.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.3486, allocations: 307.8 kB / 456.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.349, allocations: 149.7 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.349, allocations: 7.984 kB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.349, allocations: 47.03 kB / 456.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.349, allocations: 0 / 456.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005344/0.3544, allocations: 2.395 MB / 459.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.3544, allocations: 85.58 kB / 459.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00745/0.3619, allocations: 5.455 MB / 464.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.362, allocations: 29.7 kB / 464.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.3633, allocations: 1.195 MB / 465.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3635, allocations: 178.5 kB / 466.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3637, allocations: 90.08 kB / 466.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3638, allocations: 322 kB / 466.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.3643, allocations: 144.9 kB / 466.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.3647, allocations: 225 kB / 466.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.3655, allocations: 388.2 kB / 467.2 MB, free: 3.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3655, allocations: 4 kB / 467.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0016/0.3671, allocations: 0.6972 MB / 467.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3671, allocations: 4 kB / 467.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3671, allocations: 4 kB / 467.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3672, allocations: 4.25 kB / 467.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3677, allocations: 119.9 kB / 468.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.3677, allocations: 7.938 kB / 468.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.3682, allocations: 19.98 kB / 468.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3683, allocations: 16 kB / 468.1 MB, free: 2.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.001485/0.3698, allocations: 0.9192 MB / 469 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/0.3702, allocations: 286.1 kB / 469.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.3719, allocations: 0.7982 MB / 470.1 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3719, allocations: 7.938 kB / 470.1 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3719, allocations: 4 kB / 470.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3719, allocations: 0 / 470.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.3739, allocations: 1.457 MB / 471.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3739, allocations: 0 / 471.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.3744, allocations: 99.88 kB / 471.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.3748, allocations: 88.73 kB / 471.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3748, allocations: 11.98 kB / 471.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007063/0.3755, allocations: 0.6343 MB / 472.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3755, allocations: 4.031 kB / 472.4 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.3776, allocations: 1.09 MB / 473.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.3786, allocations: 430 kB / 473.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.3787, allocations: 12.12 kB / 473.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.3792, allocations: 19.98 kB / 473.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.3793, allocations: 36.31 kB / 474 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.3794, allocations: 12 kB / 474 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005622/0.385, allocations: 3.986 MB / 478 MB, free: 8.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.385, allocations: 8 kB / 478 MB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008665/0.3858, allocations: 211.9 kB / 478.2 MB, free: 8.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003691/0.3895, allocations: 1.929 MB / 480.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008995/0.3904, allocations: 361.3 kB / 480.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3904, allocations: 4.125 kB / 480.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.3909, allocations: 202.4 kB / 480.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.392, allocations: 207.4 kB / 480.9 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/0.4346, allocations: 19.42 MB / 0.4886 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/0.4365, allocations: 1.821 MB / 0.4903 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008448/0.4374, allocations: 271.8 kB / 0.4906 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.4387, allocations: 0.9406 MB / 0.4915 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4387, allocations: 0 / 0.4915 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09631/0.535, allocations: 39.28 MB / 0.5299 GB, free: 7.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/17.93, allocations: 3.984 kB / 0.5299 GB, free: 7.746 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.84109599608928] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 18.119939208962023 18.400887184 18.065081418 Calling exit ...