Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 43.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006123/0.2277, allocations: 4.479 MB / 435.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.2398, allocations: 9.326 MB / 444.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.2404, allocations: 43.5 kB / 444.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.2422, allocations: 0.62 MB / 445.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.245, allocations: 1.028 MB / 446.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2465, allocations: 0.6018 MB / 447.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.2487, allocations: 1.39 MB / 448.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.2489, allocations: 109.8 kB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.2493, allocations: 302.5 kB / 449 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.2497, allocations: 305.9 kB / 449.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.2498, allocations: 32 kB / 449.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.2512, allocations: 0.6673 MB / 450 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2513, allocations: 111.3 kB / 450.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.2516, allocations: 302 kB / 450.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.2533, allocations: 1.28 MB / 451.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2533, allocations: 0 / 451.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2533, allocations: 0 / 451.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2533, allocations: 0 / 451.7 MB, free: 1.965 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001994/0.2553, allocations: 1.289 MB / 452.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2553, allocations: 12.03 kB / 453 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.2554, allocations: 70.66 kB / 453 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.2555, allocations: 120.2 kB / 453.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2567, allocations: 0.6799 MB / 453.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2567, allocations: 16.66 kB / 453.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.2568, allocations: 31.98 kB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.2574, allocations: 314 kB / 454.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2574, allocations: 0 / 454.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2574, allocations: 19.92 kB / 454.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2575, allocations: 8 kB / 454.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.2581, allocations: 274.5 kB / 454.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2601, allocations: 1.268 MB / 455.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.2607, allocations: 264.8 kB / 456 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.2612, allocations: 224.7 kB / 456.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/0.264, allocations: 1.327 MB / 457.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.2645, allocations: 203.2 kB / 457.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2645, allocations: 0 / 457.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001423/0.2659, allocations: 0.5566 MB / 458.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.266, allocations: 59.41 kB / 458.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.2669, allocations: 0.8111 MB / 459.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2669, allocations: 33.7 kB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.2674, allocations: 441 kB / 459.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2675, allocations: 115 kB / 459.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.2676, allocations: 73.97 kB / 459.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2677, allocations: 329.9 kB / 460.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.268, allocations: 124.7 kB / 460.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.2684, allocations: 210.5 kB / 460.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.27, allocations: 0.7156 MB / 461.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.27, allocations: 0 / 461.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009588/0.271, allocations: 0.5068 MB / 461.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.271, allocations: 12.03 kB / 461.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-05/0.2711, allocations: 39.98 kB / 461.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.2712, allocations: 28.84 kB / 461.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.2716, allocations: 95.75 kB / 461.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.2727, allocations: 1.33 MB / 463.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.273, allocations: 47.78 kB / 463.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.2731, allocations: 20 kB / 463.3 MB, free: 5.863 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.0002972/0.2734, allocations: 210.6 kB / 463.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2735, allocations: 111.3 kB / 463.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2746, allocations: 492.2 kB / 464.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2746, allocations: 0 / 464.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2746, allocations: 4 kB / 464.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2746, allocations: 3.938 kB / 464.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.2752, allocations: 0.495 MB / 464.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.363e-05/0.2752, allocations: 40 kB / 464.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.2756, allocations: 55.95 kB / 464.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.003e-05/0.2757, allocations: 36.77 kB / 464.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2757, allocations: 11.94 kB / 464.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.2768, allocations: 1.342 MB / 466 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2768, allocations: 8.062 kB / 466 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.278, allocations: 0.6163 MB / 466.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.2782, allocations: 111.2 kB / 466.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.2783, allocations: 8 kB / 466.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2785, allocations: 19.98 kB / 466.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.2786, allocations: 31.89 kB / 466.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2786, allocations: 11.98 kB / 466.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006911/0.2793, allocations: 0.5465 MB / 467.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2793, allocations: 0 / 467.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.28, allocations: 239.4 kB / 467.6 MB, free: 1.289 MB / 366.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.002059/0.282, allocations: 1.41 MB / 469 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.283, allocations: 473.3 kB / 469.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.283, allocations: 0 / 469.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.2835, allocations: 320.2 kB / 469.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.2841, allocations: 118.9 kB / 469.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.2928, allocations: 5.933 MB / 475.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.2932, allocations: 365.7 kB / 476.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.2934, allocations: 85.14 kB / 476.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.2938, allocations: 319.3 kB / 476.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2938, allocations: 0 / 476.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/0.3506, allocations: 18.38 MB / 495 MB, free: 5.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.64, allocations: 13.59 kB / 495 MB, free: 5.832 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.08418611716479] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.768956048879772 12.785791877 12.529199275 Calling exit ...