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.001356/0.001356, allocations: 116 kB / 17.78 MB, free: 5.289 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.001345/0.001345, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.441/1.441, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.002407/0.002407, allocations: 55.91 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.158, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.01213/0.1701, allocations: 5.092 MB / 422.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.1932, allocations: 10.81 MB / 433.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.1944, allocations: 47.5 kB / 433.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.1975, allocations: 0.7021 MB / 434.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.203, allocations: 1.01 MB / 435.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.2062, allocations: 0.6037 MB / 436 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003977/0.2102, allocations: 1.369 MB / 437.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.2106, allocations: 121.1 kB / 437.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.2113, allocations: 298.6 kB / 437.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006248/0.2119, allocations: 325.9 kB / 438.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.212, allocations: 32 kB / 438.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.2149, allocations: 0.7376 MB / 438.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2151, allocations: 111.3 kB / 439 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.2157, allocations: 405.4 kB / 439.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.2187, allocations: 1.272 MB / 440.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2187, allocations: 0 / 440.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2187, allocations: 0 / 440.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.2188, allocations: 0 / 440.7 MB, free: 5.594 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.003322/0.2221, allocations: 1.353 MB / 442 MB, free: 4.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.2221, allocations: 8.031 kB / 442 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.2222, allocations: 66.72 kB / 442.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.2225, allocations: 128.2 kB / 442.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2243, allocations: 0.7557 MB / 443 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.2244, allocations: 24.5 kB / 443 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-05/0.2245, allocations: 24 kB / 443 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2256, allocations: 321.3 kB / 443.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.2256, allocations: 0 / 443.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.2257, allocations: 8 kB / 443.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.2257, allocations: 15.98 kB / 443.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2269, allocations: 274.2 kB / 443.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.2303, allocations: 1.365 MB / 445 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.2315, allocations: 278.5 kB / 445.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.2322, allocations: 225.2 kB / 445.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2341/0.4663, allocations: 3.587 MB / 449.1 MB, free: 29.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.4668, allocations: 189.4 kB / 449.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.655e-06/0.4668, allocations: 0 / 449.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001636/0.4684, allocations: 0.739 MB / 450 MB, free: 28.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.4684, allocations: 57.16 kB / 450.1 MB, free: 28.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.4693, allocations: 0.8127 MB / 450.9 MB, free: 28.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.4694, allocations: 35.86 kB / 450.9 MB, free: 28.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.4697, allocations: 452.5 kB / 451.4 MB, free: 28.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.4697, allocations: 109 kB / 451.5 MB, free: 28.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4698, allocations: 66.72 kB / 451.5 MB, free: 28.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.4699, allocations: 317.9 kB / 451.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.4702, allocations: 119.9 kB / 452 MB, free: 28.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.4705, allocations: 228.3 kB / 452.2 MB, free: 27.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.4711, allocations: 362.9 kB / 452.5 MB, free: 27.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4711, allocations: 2.5 kB / 452.5 MB, free: 27.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009399/0.4721, allocations: 0.5161 MB / 453 MB, free: 27.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4721, allocations: 6.469 kB / 453.1 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/0.4721, allocations: 36.64 kB / 453.1 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.4724, allocations: 57.75 kB / 453.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.4727, allocations: 74.03 kB / 453.2 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.4743, allocations: 2.852 MB / 456.1 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4746, allocations: 44.92 kB / 456.1 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4746, allocations: 13.12 kB / 456.1 MB, free: 25.02 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.000256/0.4749, allocations: 205.6 kB / 456.3 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.475, allocations: 111.7 kB / 456.4 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.4762, allocations: 494.7 kB / 456.9 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4762, allocations: 2.625 kB / 456.9 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4762, allocations: 10.75 kB / 456.9 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4762, allocations: 2.016 kB / 456.9 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.4768, allocations: 0.5551 MB / 457.5 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/0.4768, allocations: 35.31 kB / 457.5 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.4771, allocations: 42.77 kB / 457.6 MB, free: 24.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.4773, allocations: 48.53 kB / 457.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4773, allocations: 12.81 kB / 457.6 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.4787, allocations: 2.85 MB / 460.5 MB, free: 21.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4787, allocations: 3.281 kB / 460.5 MB, free: 21.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4801, allocations: 0.6139 MB / 461.1 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.4803, allocations: 186 kB / 461.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.4804, allocations: 7.188 kB / 461.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4806, allocations: 13.28 kB / 461.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4807, allocations: 33.88 kB / 461.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.4808, allocations: 13.28 kB / 461.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.4815, allocations: 0.5526 MB / 461.9 MB, free: 20.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4815, allocations: 2.062 kB / 461.9 MB, free: 20.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007843/0.4823, allocations: 245.4 kB / 462.1 MB, free: 20.73 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.001968/0.4843, allocations: 1.398 MB / 463.5 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4853, allocations: 0.5715 MB / 464.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4853, allocations: 1.219 kB / 464.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.4859, allocations: 427.8 kB / 464.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4864, allocations: 114.9 kB / 464.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.4942, allocations: 5.804 MB / 470.4 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.4946, allocations: 0.9667 MB / 471.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.4949, allocations: 85.97 kB / 471.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.4952, allocations: 335.3 kB / 471.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4952, allocations: 0 / 471.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/0.5447, allocations: 17.58 MB / 489.4 MB, free: 5.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.5, allocations: 8.703 kB / 489.4 MB, free: 5.633 MB / 366.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.99835090059787] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.598992083687335 12.614409117 12.391604616 Calling exit ...