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.001332/0.001332, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001402/0.001402, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001579/0.001579, allocations: 55.86 kB / 377.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 53.36 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005957/0.253, allocations: 4.483 MB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2653, allocations: 9.318 MB / 444.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/0.2659, allocations: 39.56 kB / 444.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2677, allocations: 0.6148 MB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.2705, allocations: 1.039 MB / 446.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2719, allocations: 0.6018 MB / 447.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.274, allocations: 1.394 MB / 448.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2742, allocations: 109.8 kB / 448.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.2746, allocations: 310.5 kB / 449 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.2749, allocations: 313.9 kB / 449.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.275, allocations: 36 kB / 449.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.2763, allocations: 0.7025 MB / 450 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2764, allocations: 111.3 kB / 450.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.2767, allocations: 298.1 kB / 450.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.2783, allocations: 1.291 MB / 451.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2783, allocations: 0 / 451.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2783, allocations: 0 / 451.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2783, allocations: 0 / 451.7 MB, free: 1.938 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.00201/0.2803, allocations: 1.29 MB / 453 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2803, allocations: 11.97 kB / 453 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.99e-05/0.2804, allocations: 66.72 kB / 453.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2806, allocations: 120.2 kB / 453.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.2817, allocations: 0.6761 MB / 453.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2817, allocations: 28.64 kB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.2818, allocations: 24 kB / 453.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.2824, allocations: 321.9 kB / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2824, allocations: 0 / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.2825, allocations: 19.94 kB / 454.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2825, allocations: 8 kB / 454.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.2831, allocations: 278.5 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.2851, allocations: 1.256 MB / 455.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.2858, allocations: 270.6 kB / 456.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.2862, allocations: 216.7 kB / 456.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/0.2891, allocations: 1.319 MB / 457.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.2895, allocations: 212.8 kB / 457.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.2895, allocations: 0 / 457.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001414/0.291, allocations: 0.5527 MB / 458.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.291, allocations: 63.34 kB / 458.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.2919, allocations: 0.8111 MB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.292, allocations: 29.7 kB / 459.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.2924, allocations: 448.9 kB / 459.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.2925, allocations: 115 kB / 459.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2926, allocations: 66.03 kB / 459.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2927, allocations: 329.9 kB / 460.2 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.2931, allocations: 120.7 kB / 460.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.2934, allocations: 214.6 kB / 460.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.295, allocations: 0.7039 MB / 461.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2951, allocations: 8 kB / 461.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009848/0.296, allocations: 0.5145 MB / 461.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2961, allocations: 4 kB / 461.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.671e-05/0.2961, allocations: 43.98 kB / 461.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.2962, allocations: 32.78 kB / 461.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.2966, allocations: 83.88 kB / 461.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.2978, allocations: 1.334 MB / 463.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2981, allocations: 47.72 kB / 463.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2982, allocations: 23.98 kB / 463.3 MB, free: 5.844 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.0003251/0.2985, allocations: 210.3 kB / 463.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2986, allocations: 111.3 kB / 463.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.2997, allocations: 0.4885 MB / 464.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2997, allocations: 4 kB / 464.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2997, allocations: 7.875 kB / 464.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2997, allocations: 0 / 464.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.3004, allocations: 0.5028 MB / 464.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/0.3004, allocations: 36 kB / 464.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.3007, allocations: 55.94 kB / 464.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.762e-05/0.3008, allocations: 28.84 kB / 464.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3009, allocations: 12 kB / 464.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.302, allocations: 1.334 MB / 466.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.302, allocations: 0 / 466.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3032, allocations: 0.6225 MB / 466.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.3034, allocations: 107.2 kB / 466.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.3035, allocations: 8.234 kB / 466.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.3038, allocations: 20.03 kB / 466.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.3039, allocations: 23.97 kB / 466.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3039, allocations: 19.97 kB / 466.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006885/0.3046, allocations: 0.5426 MB / 467.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3046, allocations: 0 / 467.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006411/0.3052, allocations: 251.3 kB / 467.7 MB, free: 1.266 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.002072/0.3073, allocations: 1.414 MB / 469.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009795/0.3083, allocations: 469.3 kB / 469.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3083, allocations: 0 / 469.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.3088, allocations: 323.9 kB / 469.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.3093, allocations: 116.3 kB / 470 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.318, allocations: 5.93 MB / 475.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3184, allocations: 361.7 kB / 476.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.3186, allocations: 93.19 kB / 476.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.319, allocations: 315.3 kB / 476.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.319, allocations: 0 / 476.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05422/0.3732, allocations: 18.48 MB / 495.1 MB, free: 5.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.7, allocations: 19.08 kB / 495.2 MB, free: 5.707 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.162304683006369] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.82311186401057 12.840449103 12.558675239 Calling exit ...