Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 185.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 47.92 kB / 370.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2346, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005876/0.2405, allocations: 4.477 MB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2523, allocations: 9.279 MB / 436.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.2529, allocations: 47.5 kB / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.2546, allocations: 0.6162 MB / 437 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.2571, allocations: 1.024 MB / 438 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.2585, allocations: 0.5978 MB / 438.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.2605, allocations: 1.378 MB / 440 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.2607, allocations: 105.8 kB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.2611, allocations: 302.6 kB / 440.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.2615, allocations: 301.9 kB / 440.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2615, allocations: 35.94 kB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2628, allocations: 0.6557 MB / 441.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.263, allocations: 111.3 kB / 441.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2633, allocations: 298.1 kB / 441.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.2648, allocations: 1.295 MB / 443.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2648, allocations: 3.938 kB / 443.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2648, allocations: 0 / 443.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2648, allocations: 4 kB / 443.1 MB, free: 9.797 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.002094/0.2669, allocations: 1.282 MB / 444.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.267, allocations: 16.02 kB / 444.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.2671, allocations: 58.73 kB / 444.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.2672, allocations: 124.2 kB / 444.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2684, allocations: 0.6837 MB / 445.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2684, allocations: 16.66 kB / 445.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.2685, allocations: 28 kB / 445.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.2692, allocations: 321.9 kB / 445.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2692, allocations: 4 kB / 445.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.2692, allocations: 8 kB / 445.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.2692, allocations: 11.98 kB / 445.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.2699, allocations: 278.5 kB / 445.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.2719, allocations: 1.26 MB / 447.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.2726, allocations: 274.5 kB / 447.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.273, allocations: 212.8 kB / 447.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/0.2765, allocations: 1.44 MB / 449.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004582/0.277, allocations: 198.4 kB / 449.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.774e-06/0.277, allocations: 0 / 449.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001596/0.2785, allocations: 0.5804 MB / 449.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2786, allocations: 55.41 kB / 449.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/0.2796, allocations: 0.8232 MB / 450.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.2796, allocations: 29.7 kB / 450.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.28, allocations: 452.8 kB / 451.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.2801, allocations: 99.16 kB / 451.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2803, allocations: 77.97 kB / 451.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2804, allocations: 325.9 kB / 451.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2807, allocations: 112.7 kB / 451.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.2811, allocations: 232 kB / 452 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.2818, allocations: 360.9 kB / 452.4 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2818, allocations: 0 / 452.4 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00105/0.2829, allocations: 0.5335 MB / 452.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2829, allocations: 10.19 kB / 452.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-05/0.283, allocations: 36.44 kB / 452.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.2832, allocations: 53.69 kB / 453 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.2835, allocations: 71.89 kB / 453.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.2859, allocations: 2.634 MB / 455.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.2862, allocations: 55.72 kB / 455.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2863, allocations: 20 kB / 455.8 MB, free: 12.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.2866, allocations: 201.7 kB / 456 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2867, allocations: 111.3 kB / 456.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.2877, allocations: 497.7 kB / 456.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2877, allocations: 0 / 456.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2878, allocations: 8 kB / 456.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2878, allocations: 4.031 kB / 456.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.2884, allocations: 0.4912 MB / 457.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/0.2884, allocations: 39.92 kB / 457.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.2887, allocations: 35.97 kB / 457.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.2888, allocations: 49.67 kB / 457.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2889, allocations: 12 kB / 457.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.291, allocations: 2.641 MB / 459.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.291, allocations: 0 / 459.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2923, allocations: 0.6042 MB / 460.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2925, allocations: 119.2 kB / 460.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.2926, allocations: 7.984 kB / 460.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.2929, allocations: 11.98 kB / 460.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.293, allocations: 27.95 kB / 460.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.293, allocations: 12 kB / 460.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.2937, allocations: 0.5506 MB / 461.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2937, allocations: 0 / 461.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.2943, allocations: 243.4 kB / 461.4 MB, free: 6.492 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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,2,100.0%), (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.002119/0.2964, allocations: 1.407 MB / 462.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2975, allocations: 0.5652 MB / 463.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2975, allocations: 4.875 kB / 463.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.2982, allocations: 422.9 kB / 463.8 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.2987, allocations: 112.2 kB / 463.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.3075, allocations: 5.803 MB / 469.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3079, allocations: 365.3 kB / 470.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.3082, allocations: 85.2 kB / 470.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.3086, allocations: 331.3 kB / 470.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3086, allocations: 0 / 470.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/0.3679, allocations: 18.47 MB / 489 MB, free: 10.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.51, allocations: 3.094 kB / 489 MB, free: 10.82 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.899153716862202] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.628844882827252 12.643524352 12.375665342 Calling exit ...