Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.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.001887/0.001887, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002161/0.002161, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.503/1.503, 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.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",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.001958/0.001958, allocations: 67.84 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1201, allocations: 53.33 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2649/0.385, allocations: 5.225 MB / 432.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007422/0.3924, allocations: 6.689 MB / 438.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009562/0.3934, allocations: 64.78 kB / 439 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.3951, allocations: 0.4987 MB / 439.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.398, allocations: 0.8234 MB / 440.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.3995, allocations: 439.8 kB / 440.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.4031, allocations: 2.043 MB / 442.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.4033, allocations: 106.7 kB / 442.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.4042, allocations: 392.1 kB / 443.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.4046, allocations: 344.2 kB / 443.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.4047, allocations: 30.44 kB / 443.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4063, allocations: 499.4 kB / 444.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.4064, allocations: 111 kB / 444.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.4068, allocations: 451 kB / 444.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.4087, allocations: 1.292 MB / 446 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4087, allocations: 1.062 kB / 446 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4087, allocations: 0 / 446 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.4088, allocations: 0 / 446 MB, free: 2.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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002257/0.411, allocations: 1.498 MB / 447.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4111, allocations: 10.5 kB / 447.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.4111, allocations: 56.58 kB / 447.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.4114, allocations: 152 kB / 447.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4126, allocations: 0.8567 MB / 448.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.4126, allocations: 18.41 kB / 448.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.4126, allocations: 30.45 kB / 448.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.4132, allocations: 304.3 kB / 448.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4132, allocations: 2.594 kB / 448.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.4132, allocations: 10.11 kB / 448.9 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4132, allocations: 9.625 kB / 448.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.4136, allocations: 220.7 kB / 449.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.4156, allocations: 1.121 MB / 450.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.416, allocations: 213.5 kB / 450.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.4165, allocations: 269 kB / 450.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.4178, allocations: 0.8358 MB / 451.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.4178, allocations: 40.52 kB / 451.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.925e-06/0.4178, allocations: 0.9375 kB / 451.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003472/0.4213, allocations: 1.554 MB / 453.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.4214, allocations: 118.7 kB / 453.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.4227, allocations: 0.9319 MB / 454.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.4227, allocations: 31.08 kB / 454.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.4231, allocations: 360.1 kB / 454.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4232, allocations: 144.4 kB / 454.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.4234, allocations: 118.2 kB / 454.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4236, allocations: 327 kB / 455.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.4239, allocations: 125.3 kB / 455.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.4242, allocations: 154.4 kB / 455.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.4258, allocations: 0.7352 MB / 456.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4258, allocations: 0 / 456.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001033/0.4268, allocations: 0.5572 MB / 456.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.4269, allocations: 40.75 kB / 456.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/0.4269, allocations: 12.08 kB / 456.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.4272, allocations: 71.33 kB / 456.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4274, allocations: 45.5 kB / 456.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.4306, allocations: 3.334 MB / 460.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.4311, allocations: 15.06 kB / 460.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.4312, allocations: 22.06 kB / 460.2 MB, free: 7.855 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005331/0.4318, allocations: 255.2 kB / 460.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4319, allocations: 131.2 kB / 460.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.4334, allocations: 0.6611 MB / 461.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4334, allocations: 5.5 kB / 461.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4334, allocations: 3.531 kB / 461.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4334, allocations: 5.453 kB / 461.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/0.4344, allocations: 0.6157 MB / 461.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/0.4344, allocations: 15.47 kB / 461.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.4346, allocations: 31 kB / 461.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.4348, allocations: 73.5 kB / 462 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4349, allocations: 20.41 kB / 462 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.4381, allocations: 3.328 MB / 465.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4381, allocations: 0.8125 kB / 465.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4396, allocations: 0.8508 MB / 466.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.4401, allocations: 275.9 kB / 466.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.4402, allocations: 12.94 kB / 466.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.4404, allocations: 18.39 kB / 466.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4405, allocations: 34.78 kB / 466.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.4406, allocations: 20.3 kB / 466.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009657/0.4416, allocations: 0.6321 MB / 467.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4416, allocations: 0 / 467.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00107/0.4426, allocations: 230.3 kB / 467.4 MB, free: 2.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002584/0.4452, allocations: 1.606 MB / 469 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4466, allocations: 0.7517 MB / 469.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4466, allocations: 0 / 469.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.4474, allocations: 0.5919 MB / 470.4 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.4482, allocations: 132.6 kB / 470.5 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008682/0.4569, allocations: 5.745 MB / 476.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.4575, allocations: 1.004 MB / 477.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.4578, allocations: 98.52 kB / 477.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.4582, allocations: 281.9 kB / 477.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4582, allocations: 0 / 477.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.5195, allocations: 17.39 MB / 495 MB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.75, allocations: 10.19 kB / 495 MB, free: 11.42 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.387256845831871] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.846866458654404 12.874265266 12.460248465 Calling exit ...