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.001421/0.001421, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001442/0.001442, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.585/1.585, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002267/0.002267, allocations: 67.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00645/0.1259, allocations: 3.464 MB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2626/0.3885, allocations: 1.652 MB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.3891, allocations: 8.656 kB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.3928, allocations: 2.663 MB / 434.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.3939, allocations: 225.4 kB / 435 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.3948, allocations: 319.8 kB / 435.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.3976, allocations: 1.819 MB / 437.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.398, allocations: 100.2 kB / 437.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.3986, allocations: 326.2 kB / 437.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.399, allocations: 358.8 kB / 437.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3991, allocations: 45.09 kB / 438 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.3994, allocations: 91.94 kB / 438 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009255/0.4003, allocations: 0.8448 MB / 438.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008055/0.4011, allocations: 0.9443 MB / 439.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.4045, allocations: 2.649 MB / 442.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4045, allocations: 1.281 kB / 442.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4045, allocations: 0 / 442.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.8e-05/0.4045, allocations: 8.547 kB / 442.5 MB, free: 6.219 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.006212/0.4108, allocations: 2.913 MB / 445.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001308/0.4109, allocations: 8.938 kB / 445.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.411, allocations: 72.02 kB / 445.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.4119, allocations: 306.7 kB / 445.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.4164, allocations: 1.864 MB / 447.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.4165, allocations: 58.91 kB / 447.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.4167, allocations: 60.17 kB / 447.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4178, allocations: 390.5 kB / 448.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.4178, allocations: 1.406 kB / 448.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.4178, allocations: 15.22 kB / 448.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.4179, allocations: 9.672 kB / 448.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.4187, allocations: 333.7 kB / 448.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.4251, allocations: 2.909 MB / 451.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.4258, allocations: 304.2 kB / 451.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.4261, allocations: 153.1 kB / 451.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.4261, allocations: 5.391 kB / 451.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4262, allocations: 37.38 kB / 451.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 3.136e-06/0.4262, allocations: 0 / 451.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.007118/0.4333, allocations: 2.48 MB / 454.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.4334, allocations: 82.52 kB / 454.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009888/0.4433, allocations: 5.462 MB / 459.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.4434, allocations: 32.2 kB / 460 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.4448, allocations: 1.191 MB / 461.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.445, allocations: 175.4 kB / 461.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4452, allocations: 88.86 kB / 461.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4453, allocations: 323 kB / 461.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.4458, allocations: 140.2 kB / 461.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.4463, allocations: 225 kB / 462.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.4471, allocations: 380 kB / 462.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4471, allocations: 0 / 462.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001842/0.4489, allocations: 0.7035 MB / 463.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.449, allocations: 8.156 kB / 463.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.449, allocations: 4.516 kB / 463.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.449, allocations: 2.875 kB / 463.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.4495, allocations: 126.7 kB / 463.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4495, allocations: 3.406 kB / 463.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.4502, allocations: 18.61 kB / 463.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.4503, allocations: 16.62 kB / 463.3 MB, free: 10.13 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.001889/0.4522, allocations: 0.9284 MB / 464.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/0.4527, allocations: 291.6 kB / 464.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.4547, allocations: 0.7934 MB / 465.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4547, allocations: 4.062 kB / 465.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4547, allocations: 1.375 kB / 465.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4547, allocations: 0 / 465.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.4572, allocations: 1.479 MB / 466.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4572, allocations: 0 / 466.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.4576, allocations: 100.9 kB / 466.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.4582, allocations: 100.6 kB / 467 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.4582, allocations: 15.8 kB / 467 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006301/0.4588, allocations: 0.6266 MB / 467.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4588, allocations: 4.062 kB / 467.7 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.4609, allocations: 1.091 MB / 468.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/0.4619, allocations: 0.4967 MB / 469.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.4621, allocations: 12 kB / 469.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.4626, allocations: 15.98 kB / 469.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.4627, allocations: 32.39 kB / 469.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.4627, allocations: 12 kB / 469.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006799/0.4695, allocations: 3.986 MB / 473.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4695, allocations: 4 kB / 473.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001335/0.4709, allocations: 212 kB / 473.5 MB, free: 1.117 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.004001/0.4749, allocations: 1.952 MB / 475.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000878/0.4758, allocations: 357 kB / 475.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4758, allocations: 0.5 kB / 475.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.4764, allocations: 214.3 kB / 476 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4779, allocations: 187.4 kB / 476.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05575/0.5337, allocations: 19.42 MB / 495.6 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.5362, allocations: 1.821 MB / 497.5 MB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001165/0.5374, allocations: 275.8 kB / 497.7 MB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/0.5394, allocations: 0.9366 MB / 498.7 MB, free: 7.938 MB / 398.1 MB Notification: Performance of SimCode: time 1.864e-06/0.5394, allocations: 0 / 498.7 MB, free: 7.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.6406, allocations: 39 MB / 0.5251 GB, free: 1.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/18.41, allocations: 8.344 kB / 0.5251 GB, free: 1.242 MB / 430.1 MB " [Timeout remaining time 641] (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: 21.245474960189313] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 18.582900029141456 18.609164242 18.199858977999998 Calling exit ...