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.000899/0.000899, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008096/0.0008096, allocations: 157.4 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9037/0.9037, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 318.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.881e-05, allocations: 6.219 kB / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003625/0.003644, allocations: 4.463 MB / 322.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.01053, allocations: 9.29 MB / 332.2 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.01088, allocations: 43.56 kB / 332.2 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.01196, allocations: 0.6182 MB / 332.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.01355, allocations: 1.055 MB / 333.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.01442, allocations: 0.6133 MB / 334.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.01578, allocations: 1.421 MB / 335.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.01595, allocations: 109.8 kB / 336 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.01626, allocations: 418.9 kB / 336.4 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.01646, allocations: 219.1 kB / 336.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.01649, allocations: 32 kB / 336.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007525/0.01725, allocations: 0.6673 MB / 337.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.01732, allocations: 107.3 kB / 337.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.01749, allocations: 223.3 kB / 337.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.01861, allocations: 1.335 MB / 339 MB, free: 1.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01861, allocations: 0 / 339 MB, free: 1.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01861, allocations: 0 / 339 MB, free: 1.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.01862, allocations: 0 / 339 MB, free: 1.527 MB / 298.7 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.001269/0.01989, allocations: 1.269 MB / 340.3 MB, free: 228 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.01993, allocations: 12.91 kB / 340.3 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.01998, allocations: 74.67 kB / 340.4 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.02007, allocations: 124.2 kB / 340.5 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.02076, allocations: 0.6715 MB / 341.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.02078, allocations: 28.97 kB / 341.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.02082, allocations: 28.12 kB / 341.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.02121, allocations: 330 kB / 341.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.02122, allocations: 0 / 341.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.02124, allocations: 8 kB / 341.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.02125, allocations: 11.98 kB / 341.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.02164, allocations: 274.5 kB / 341.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.02298, allocations: 1.258 MB / 343.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.02341, allocations: 274.5 kB / 343.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.02366, allocations: 213.4 kB / 343.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.02556, allocations: 1.443 MB / 345 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.02583, allocations: 194.3 kB / 345.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.02584, allocations: 0 / 345.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.000944/0.02678, allocations: 0.5844 MB / 345.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.02682, allocations: 59.41 kB / 345.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.02747, allocations: 0.8192 MB / 346.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.0275, allocations: 25.7 kB / 346.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.02778, allocations: 452.8 kB / 347.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.02784, allocations: 103.2 kB / 347.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.02792, allocations: 65.98 kB / 347.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.02801, allocations: 325.9 kB / 347.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.02818, allocations: 128.6 kB / 347.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.0284, allocations: 220.5 kB / 348 MB, free: 8.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.02881, allocations: 356.9 kB / 348.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02881, allocations: 4 kB / 348.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006118/0.02942, allocations: 0.5334 MB / 348.8 MB, free: 7.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.02944, allocations: 8 kB / 348.8 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/0.02947, allocations: 31.98 kB / 348.9 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.02964, allocations: 53.69 kB / 348.9 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.0298, allocations: 71.89 kB / 349 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.03124, allocations: 2.637 MB / 351.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.03141, allocations: 47.66 kB / 351.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.03144, allocations: 23.98 kB / 351.7 MB, free: 4.199 MB / 314.7 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.0001899/0.03163, allocations: 205.8 kB / 351.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.0317, allocations: 115.2 kB / 352 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.03234, allocations: 489.1 kB / 352.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03234, allocations: 4 kB / 352.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.03235, allocations: 0 / 352.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.03235, allocations: 0 / 352.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.03276, allocations: 499 kB / 353 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.03279, allocations: 28 kB / 353 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.03292, allocations: 47.95 kB / 353.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.03303, allocations: 45.69 kB / 353.1 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.03305, allocations: 15.94 kB / 353.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.03436, allocations: 2.645 MB / 355.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03436, allocations: 0 / 355.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.03504, allocations: 0.6165 MB / 356.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.03516, allocations: 107.2 kB / 356.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.0352, allocations: 11.94 kB / 356.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.03531, allocations: 15.98 kB / 356.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/0.03538, allocations: 23.95 kB / 356.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.0354, allocations: 20.05 kB / 356.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.03581, allocations: 0.5506 MB / 357.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03581, allocations: 0 / 357.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.0362, allocations: 239.4 kB / 357.3 MB, free: 14.23 MB / 330.7 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.001302/0.0375, allocations: 1.418 MB / 358.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.03814, allocations: 0.5661 MB / 359.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.03814, allocations: 0 / 359.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.03846, allocations: 426.9 kB / 359.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.03881, allocations: 108.4 kB / 359.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/0.04395, allocations: 5.756 MB / 365.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.04415, allocations: 361.3 kB / 366 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.04431, allocations: 89.14 kB / 366 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.04454, allocations: 336.4 kB / 366.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04455, allocations: 0 / 366.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.07426, allocations: 18.64 MB / 385 MB, free: 2.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/7.938, allocations: 10.92 kB / 385 MB, free: 2.406 MB / 346.7 MB " [Timeout remaining time 652] (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: 9.689450353384018] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 8.038664643652737 8.047788546 8.027530802 Calling exit ...