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.001308/0.001308, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001374/0.001374, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 53.35 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2689/0.3873, allocations: 5.085 MB / 431.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.3984, allocations: 10.84 MB / 442.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.3993, allocations: 42.19 kB / 442.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.4016, allocations: 0.7036 MB / 443 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.4063, allocations: 1.022 MB / 444 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.4086, allocations: 0.5964 MB / 444.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.4114, allocations: 1.396 MB / 446 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.4117, allocations: 118.4 kB / 446.1 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.4122, allocations: 297.8 kB / 446.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.4126, allocations: 324.3 kB / 446.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.4126, allocations: 31.44 kB / 446.8 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.415, allocations: 0.7491 MB / 447.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4152, allocations: 109.6 kB / 447.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.4158, allocations: 397.1 kB / 448 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.4181, allocations: 1.28 MB / 449.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4181, allocations: 4 kB / 449.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4181, allocations: 1.625 kB / 449.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4182, allocations: 0 / 449.3 MB, free: 15.03 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.002443/0.4206, allocations: 1.349 MB / 450.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4206, allocations: 10.38 kB / 450.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/0.4207, allocations: 62.97 kB / 450.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.4209, allocations: 126.4 kB / 450.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.4222, allocations: 0.7564 MB / 451.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4222, allocations: 23.67 kB / 451.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.4223, allocations: 26.67 kB / 451.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.4231, allocations: 320.4 kB / 451.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4231, allocations: 1.062 kB / 451.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.4232, allocations: 10.12 kB / 452 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4232, allocations: 13.73 kB / 452 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.4239, allocations: 277.2 kB / 452.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.4264, allocations: 1.362 MB / 453.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.4271, allocations: 284.8 kB / 453.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.4276, allocations: 216.8 kB / 454.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004578/0.4322, allocations: 2.794 MB / 456.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/0.4327, allocations: 211 kB / 457.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.4327, allocations: 1.375 kB / 457.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001751/0.4345, allocations: 0.632 MB / 457.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4345, allocations: 56.14 kB / 457.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4356, allocations: 0.8055 MB / 458.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4357, allocations: 31.58 kB / 458.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000527/0.4362, allocations: 450.6 kB / 459.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4363, allocations: 105.9 kB / 459.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.4365, allocations: 75.67 kB / 459.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4367, allocations: 330.8 kB / 459.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.437, allocations: 116.4 kB / 459.7 MB, free: 8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.4374, allocations: 218.4 kB / 459.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.4393, allocations: 0.7111 MB / 460.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4393, allocations: 1.062 kB / 460.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001185/0.4405, allocations: 0.5167 MB / 461.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4405, allocations: 6.438 kB / 461.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/0.4406, allocations: 36 kB / 461.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.4407, allocations: 32.3 kB / 461.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.4411, allocations: 91.97 kB / 461.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.4427, allocations: 1.446 MB / 462.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.4433, allocations: 41.73 kB / 462.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.4433, allocations: 27.12 kB / 462.8 MB, free: 5.77 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.0004565/0.4438, allocations: 204.1 kB / 463 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.4441, allocations: 113 kB / 463.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4454, allocations: 488.9 kB / 463.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4454, allocations: 3.281 kB / 463.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4454, allocations: 4 kB / 463.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4454, allocations: 5.125 kB / 463.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.4463, allocations: 0.5804 MB / 464.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.4463, allocations: 32.5 kB / 464.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.4466, allocations: 61.5 kB / 464.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.4468, allocations: 22.94 kB / 464.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.4468, allocations: 10.41 kB / 464.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.4482, allocations: 1.44 MB / 465.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4482, allocations: 8.047 kB / 465.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.4495, allocations: 0.6123 MB / 466.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.4499, allocations: 189.2 kB / 466.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.45, allocations: 10.66 kB / 466.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.4502, allocations: 15 kB / 466.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4503, allocations: 25.56 kB / 466.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.4503, allocations: 13.91 kB / 466.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008089/0.4511, allocations: 0.54 MB / 467.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4511, allocations: 0 / 467.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009249/0.4521, allocations: 249.8 kB / 467.4 MB, free: 2.391 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.002587/0.4547, allocations: 1.426 MB / 468.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4559, allocations: 467.2 kB / 469.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4559, allocations: 0 / 469.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.4564, allocations: 313.2 kB / 469.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.4571, allocations: 118.8 kB / 469.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4672, allocations: 5.941 MB / 475.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.468, allocations: 0.9578 MB / 476.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.4683, allocations: 84.66 kB / 476.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.4687, allocations: 312.5 kB / 477 MB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4687, allocations: 0 / 477 MB, free: 12.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/0.526, allocations: 17.53 MB / 494.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.89, allocations: 6.109 kB / 494.5 MB, free: 11.39 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.525467666011536] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.98183820900158 12.997052567 12.575596702 Calling exit ...