Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001731/0.001731, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002339/0.002339, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",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.001965/0.001965, allocations: 60.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2667, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006523/0.2732, allocations: 5.125 MB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.2882, allocations: 10.86 MB / 447.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.2892, allocations: 43.5 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.2914, allocations: 0.697 MB / 448.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.295, allocations: 1.032 MB / 449.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.2971, allocations: 0.6098 MB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.2999, allocations: 1.394 MB / 451.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.3002, allocations: 117.8 kB / 451.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.3007, allocations: 298.6 kB / 452.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.3011, allocations: 321.8 kB / 452.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.3012, allocations: 32 kB / 452.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.3032, allocations: 0.7532 MB / 453.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3033, allocations: 103.3 kB / 453.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.3038, allocations: 405.4 kB / 453.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.3058, allocations: 1.276 MB / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3058, allocations: 0 / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3058, allocations: 0 / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.3058, allocations: 0 / 454.9 MB, free: 15.73 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002131/0.3079, allocations: 1.278 MB / 456.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.308, allocations: 12.03 kB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.013e-05/0.308, allocations: 66.72 kB / 456.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.3082, allocations: 124.2 kB / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3093, allocations: 0.6876 MB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3093, allocations: 16.66 kB / 457.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.3094, allocations: 28 kB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.31, allocations: 321.9 kB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3101, allocations: 0 / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3101, allocations: 8 kB / 457.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.3101, allocations: 15.94 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.3107, allocations: 282.5 kB / 457.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.3128, allocations: 1.322 MB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.3135, allocations: 278.5 kB / 459.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.3139, allocations: 208.8 kB / 459.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002914/0.3168, allocations: 1.358 MB / 460.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.3173, allocations: 207.3 kB / 461.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.3173, allocations: 0 / 461.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001466/0.3187, allocations: 0.5614 MB / 461.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3188, allocations: 55.41 kB / 461.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.3197, allocations: 0.8072 MB / 462.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3198, allocations: 29.7 kB / 462.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.3202, allocations: 445 kB / 463 MB, free: 7.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3203, allocations: 111.1 kB / 463.1 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3204, allocations: 73.97 kB / 463.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3205, allocations: 329.9 kB / 463.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3208, allocations: 120.7 kB / 463.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.3212, allocations: 214.5 kB / 463.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.3228, allocations: 0.7204 MB / 464.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3228, allocations: 0 / 464.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001023/0.3239, allocations: 0.51 MB / 465.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3239, allocations: 8 kB / 465.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.534e-05/0.3239, allocations: 43.98 kB / 465.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.3241, allocations: 28.83 kB / 465.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.3244, allocations: 95.72 kB / 465.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3256, allocations: 1.334 MB / 466.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.326, allocations: 47.78 kB / 466.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.326, allocations: 20 kB / 466.6 MB, free: 3.535 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003477/0.3264, allocations: 201.7 kB / 466.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3265, allocations: 115.3 kB / 467 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.3276, allocations: 0.4885 MB / 467.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3276, allocations: 4 kB / 467.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3277, allocations: 7.922 kB / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3277, allocations: 7.938 kB / 467.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.3284, allocations: 0.5454 MB / 468 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.519e-05/0.3284, allocations: 36 kB / 468 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.3287, allocations: 51.95 kB / 468.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.3288, allocations: 28.83 kB / 468.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.3289, allocations: 8 kB / 468.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.33, allocations: 1.346 MB / 469.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.33, allocations: 0 / 469.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3313, allocations: 0.615 MB / 470.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.3316, allocations: 107.3 kB / 470.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.3316, allocations: 12 kB / 470.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3319, allocations: 15.98 kB / 470.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.321e-05/0.332, allocations: 23.95 kB / 470.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.332, allocations: 12 kB / 470.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007062/0.3327, allocations: 0.5465 MB / 470.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3327, allocations: 0 / 470.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000674/0.3334, allocations: 247.3 kB / 471 MB, free: 14.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002147/0.3355, allocations: 1.422 MB / 472.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3366, allocations: 464.7 kB / 472.9 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3366, allocations: 0.75 kB / 472.9 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.3371, allocations: 321 kB / 473.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.3378, allocations: 112.2 kB / 473.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/0.3478, allocations: 5.938 MB / 479.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.3484, allocations: 0.9564 MB / 480.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.3488, allocations: 85.2 kB / 480.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.3492, allocations: 311.3 kB / 480.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of SimCode: time 1.724e-06/0.3492, allocations: 0 / 480.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.4099, allocations: 17.75 MB / 498.4 MB, free: 3.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.99, allocations: 15.7 kB / 498.4 MB, free: 3.465 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1.001e-10 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.622213816735893] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.09768808586523 13.115659708 12.806482577 Calling exit ...