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.001352/0.001352, allocations: 117.1 kB / 18.45 MB, free: 4.613 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.001465/0.001465, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.554/1.554, allocations: 227.7 MB / 251.9 MB, free: 15.85 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.001908/0.001908, allocations: 67.84 kB / 365.2 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 50.55 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005691/0.1188, allocations: 3.432 MB / 419.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1221, allocations: 1.664 MB / 420.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.1226, allocations: 4 kB / 420.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.1261, allocations: 2.663 MB / 423.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008545/0.127, allocations: 218.5 kB / 423.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.1279, allocations: 322.1 kB / 424.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.1302, allocations: 1.821 MB / 425.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1305, allocations: 135.9 kB / 426 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.1311, allocations: 321 kB / 426.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.1315, allocations: 318.9 kB / 426.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1316, allocations: 48 kB / 426.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1319, allocations: 95.92 kB / 426.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.1326, allocations: 0.8492 MB / 427.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000848/0.1335, allocations: 0.9423 MB / 428.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.1362, allocations: 2.645 MB / 431.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1362, allocations: 0 / 431.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1362, allocations: 4 kB / 431.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.1363, allocations: 4 kB / 431.2 MB, free: 14.07 MB / 366.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.004314/0.1406, allocations: 2.919 MB / 434.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.1407, allocations: 8.031 kB / 434.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.343e-05/0.1408, allocations: 74.72 kB / 434.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.1413, allocations: 306.9 kB / 434.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.1441, allocations: 1.862 MB / 436.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1442, allocations: 59.02 kB / 436.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.1444, allocations: 43.98 kB / 436.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.1452, allocations: 403 kB / 436.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1453, allocations: 0 / 436.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.1453, allocations: 19.98 kB / 436.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1453, allocations: 8 kB / 436.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.1461, allocations: 323.8 kB / 437.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.1505, allocations: 2.911 MB / 440.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.1512, allocations: 317 kB / 440.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.1516, allocations: 171.7 kB / 440.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.1516, allocations: 7.984 kB / 440.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.1517, allocations: 46.48 kB / 440.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.1517, allocations: 0 / 440.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005425/0.1571, allocations: 2.461 MB / 443.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1572, allocations: 81.55 kB / 443.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2289/0.3861, allocations: 5.464 MB / 448.7 MB, free: 27.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3863, allocations: 33.77 kB / 448.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.3876, allocations: 1.183 MB / 449.9 MB, free: 27.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.3878, allocations: 176.7 kB / 450.1 MB, free: 27.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.3879, allocations: 89.31 kB / 450.1 MB, free: 27.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.388, allocations: 326.7 kB / 450.5 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.3884, allocations: 136.1 kB / 450.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.3888, allocations: 222 kB / 450.8 MB, free: 27.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.3895, allocations: 389.3 kB / 451.2 MB, free: 26.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3895, allocations: 1.031 kB / 451.2 MB, free: 26.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001817/0.3914, allocations: 0.6991 MB / 451.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.3914, allocations: 6.062 kB / 451.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3914, allocations: 4.125 kB / 451.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.3915, allocations: 4.906 kB / 451.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.392, allocations: 119.5 kB / 452 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.392, allocations: 4.953 kB / 452 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.3926, allocations: 20.67 kB / 452.1 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.3926, allocations: 21.02 kB / 452.1 MB, free: 26.95 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.001536/0.3941, allocations: 0.921 MB / 453 MB, free: 26.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.3946, allocations: 288.4 kB / 453.3 MB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.3962, allocations: 0.7924 MB / 454.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3962, allocations: 7.516 kB / 454.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3962, allocations: 7.75 kB / 454.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3962, allocations: 2.344 kB / 454.1 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3982, allocations: 1.476 MB / 455.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3982, allocations: 0 / 455.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.3987, allocations: 96.61 kB / 455.7 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.3991, allocations: 93.8 kB / 455.7 MB, free: 26.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.3991, allocations: 10.95 kB / 455.8 MB, free: 26.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004788/0.3996, allocations: 0.6455 MB / 456.4 MB, free: 25.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3996, allocations: 1.562 kB / 456.4 MB, free: 25.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.4014, allocations: 1.09 MB / 457.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/0.4022, allocations: 0.4965 MB / 458 MB, free: 24.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.4024, allocations: 19.22 kB / 458 MB, free: 24.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.4029, allocations: 20.86 kB / 458 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4031, allocations: 29.61 kB / 458.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.4031, allocations: 11.3 kB / 458.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006555/0.4097, allocations: 3.991 MB / 462.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4097, allocations: 0 / 462.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001454/0.4112, allocations: 203.9 kB / 462.3 MB, free: 23.45 MB / 366.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.003527/0.4147, allocations: 1.948 MB / 464.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.4157, allocations: 379.5 kB / 464.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.4157, allocations: 0 / 464.6 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.4162, allocations: 215.1 kB / 464.8 MB, free: 22.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4175, allocations: 195.8 kB / 465 MB, free: 22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/0.4602, allocations: 19.42 MB / 484.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.462, allocations: 1.821 MB / 486.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000824/0.4628, allocations: 276.6 kB / 486.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.4641, allocations: 0.9406 MB / 487.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4642, allocations: 3.938 kB / 487.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09342/0.5576, allocations: 38.84 MB / 0.5139 GB, free: 296 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/17.87, allocations: 18.47 kB / 0.514 GB, free: 280 kB / 398.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.575485425069928] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 18.033463501022197 18.049652641 17.910197827 Calling exit ...