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.SinglePhaseTransformerWithHysteresis2.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.001436/0.001436, 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.001712/0.001712, 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.575/1.575, 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.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",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.002015/0.002015, allocations: 71.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006614/0.1285, allocations: 4.395 MB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2628/0.3913, allocations: 1.646 MB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/0.3919, allocations: 16.41 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.3924, allocations: 130.6 kB / 433.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.3936, allocations: 367.1 kB / 433.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.3943, allocations: 239.7 kB / 433.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.3956, allocations: 0.9834 MB / 434.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.3959, allocations: 164.6 kB / 434.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000604/0.3965, allocations: 380 kB / 435.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.397, allocations: 432 kB / 435.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.3972, allocations: 96.19 kB / 435.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.3978, allocations: 225.5 kB / 436 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.3979, allocations: 196.4 kB / 436.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.3983, allocations: 415.4 kB / 436.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.4001, allocations: 1.176 MB / 437.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4001, allocations: 4 kB / 437.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4001, allocations: 0 / 437.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.4002, allocations: 0 / 437.8 MB, free: 6.352 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00308/0.4032, allocations: 1.121 MB / 438.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4033, allocations: 10.88 kB / 438.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.4034, allocations: 97.73 kB / 439 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.4037, allocations: 90.97 kB / 439.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.4047, allocations: 0.5173 MB / 439.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.4048, allocations: 80 kB / 439.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.405, allocations: 65.27 kB / 439.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4062, allocations: 0.6028 MB / 440.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4062, allocations: 1.156 kB / 440.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.4063, allocations: 20.44 kB / 440.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.4063, allocations: 16.05 kB / 440.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.4074, allocations: 0.5243 MB / 441 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.4112, allocations: 2.297 MB / 443.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4122, allocations: 463.5 kB / 443.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.4128, allocations: 247.8 kB / 443.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.4128, allocations: 7.203 kB / 444 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4129, allocations: 46.55 kB / 444 MB, free: 2.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.4129, allocations: 0 / 444 MB, free: 2.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01368/0.4266, allocations: 3.55 MB / 447.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4266, allocations: 89.09 kB / 447.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.4275, allocations: 0.5373 MB / 448.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.4276, allocations: 40.61 kB / 448.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4278, allocations: 316.3 kB / 448.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.428, allocations: 228.1 kB / 448.7 MB, free: 424 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4282, allocations: 112 kB / 448.9 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.4283, allocations: 365.4 kB / 449.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/0.4291, allocations: 264.1 kB / 449.5 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000963/0.43, allocations: 372 kB / 449.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4314, allocations: 0.61 MB / 450.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4314, allocations: 0.875 kB / 450.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001855/0.4332, allocations: 0.7444 MB / 451.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4332, allocations: 6.5 kB / 451.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4333, allocations: 2.094 kB / 451.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.4335, allocations: 31.25 kB / 451.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.4343, allocations: 172.3 kB / 451.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4356, allocations: 1.429 MB / 452.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.4364, allocations: 38.67 kB / 452.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.4365, allocations: 25.75 kB / 452.9 MB, free: 13.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004009/0.4369, allocations: 204.8 kB / 453.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.4371, allocations: 64.2 kB / 453.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.4392, allocations: 0.8344 MB / 454 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.4392, allocations: 14 kB / 454 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4392, allocations: 0 / 454 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4392, allocations: 4.875 kB / 454 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.444, allocations: 1.843 MB / 455.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.444, allocations: 1.469 kB / 455.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.4446, allocations: 106.1 kB / 455.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.4471, allocations: 469.6 kB / 456.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.4472, allocations: 18.52 kB / 456.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/0.4534, allocations: 3.154 MB / 459.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4534, allocations: 3.984 kB / 459.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.4572, allocations: 1.358 MB / 460.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/0.4578, allocations: 214.6 kB / 461.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.4581, allocations: 16 kB / 461.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/0.459, allocations: 47.41 kB / 461.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.4592, allocations: 46.23 kB / 461.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.4593, allocations: 20.94 kB / 461.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009141/0.4602, allocations: 392.7 kB / 461.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4602, allocations: 4 kB / 461.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001436/0.4617, allocations: 185.9 kB / 461.8 MB, free: 8.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004428/0.4661, allocations: 1.959 MB / 463.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.468, allocations: 0.7059 MB / 464.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.468, allocations: 1.219 kB / 464.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4692, allocations: 0.4971 MB / 465 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4703, allocations: 93.5 kB / 465.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.4835, allocations: 5.943 MB / 471 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.4842, allocations: 0.9002 MB / 471.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004728/0.4847, allocations: 70.17 kB / 472 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.4852, allocations: 242.6 kB / 472.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.833e-06/0.4852, allocations: 0 / 472.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/0.5467, allocations: 15.89 MB / 488.1 MB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.95, allocations: 11.73 kB / 488.2 MB, free: 2.406 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.60977151338011] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.core.B', 'transformer.core.MagRel', 'transformer.core.Hstat', 'transformer.winding1.i', 'transformer.winding2.i'] 14.053891146089882 14.073667502 13.669355631 Calling exit ...