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.0009019/0.0009019, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009046/0.0009046, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.862/0.862, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944e-06/1.944e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.348e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005334/0.005357, allocations: 4.501 MB / 329.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007456/0.01281, allocations: 9.322 MB / 338.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.01345, allocations: 47.56 kB / 338.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.01481, allocations: 0.6298 MB / 339.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.01699, allocations: 1.055 MB / 340.1 MB, free: 316 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.01824, allocations: 0.6056 MB / 340.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.0198, allocations: 1.432 MB / 342.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.02001, allocations: 121.7 kB / 342.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.02048, allocations: 422.8 kB / 342.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.02075, allocations: 215.2 kB / 342.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.0208, allocations: 32 kB / 342.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.02192, allocations: 0.6634 MB / 343.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.02212, allocations: 115.2 kB / 343.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.02231, allocations: 219.2 kB / 343.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.02348, allocations: 1.339 MB / 345.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.02348, allocations: 0 / 345.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02348, allocations: 0 / 345.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.0235, allocations: 3.984 kB / 345.3 MB, free: 11.14 MB / 314.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.001679/0.02518, allocations: 1.273 MB / 346.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.02523, allocations: 8.031 kB / 346.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.0253, allocations: 66.72 kB / 346.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.02544, allocations: 120.2 kB / 346.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.02627, allocations: 0.6755 MB / 347.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.0263, allocations: 24.97 kB / 347.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.02635, allocations: 32.12 kB / 347.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.02677, allocations: 318 kB / 347.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.02678, allocations: 0 / 347.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.0268, allocations: 12 kB / 347.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.02681, allocations: 8 kB / 347.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.02717, allocations: 282.5 kB / 348.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.02867, allocations: 1.269 MB / 349.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.02908, allocations: 270.6 kB / 349.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.02931, allocations: 220.7 kB / 349.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001754/0.03107, allocations: 1.307 MB / 351.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.03134, allocations: 209.6 kB / 351.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.03134, allocations: 3.938 kB / 351.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008518/0.03219, allocations: 0.5528 MB / 351.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.03223, allocations: 59.39 kB / 351.9 MB, free: 4.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000557/0.03279, allocations: 0.8111 MB / 352.7 MB, free: 3.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.03281, allocations: 29.7 kB / 352.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.03306, allocations: 452.9 kB / 353.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.03313, allocations: 103.1 kB / 353.3 MB, free: 2.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.0332, allocations: 74.02 kB / 353.4 MB, free: 2.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.03328, allocations: 322 kB / 353.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.03346, allocations: 116.8 kB / 353.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.03367, allocations: 222.9 kB / 354 MB, free: 2.035 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.03457, allocations: 0.7167 MB / 354.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.03457, allocations: 0 / 354.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005259/0.03509, allocations: 0.514 MB / 355.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.03511, allocations: 4 kB / 355.3 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.03514, allocations: 36 kB / 355.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.664e-05/0.03523, allocations: 40.77 kB / 355.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.0354, allocations: 80.23 kB / 355.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007091/0.03611, allocations: 1.342 MB / 356.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.03626, allocations: 47.66 kB / 356.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.03629, allocations: 20 kB / 356.8 MB, free: 15.07 MB / 330.7 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.0002061/0.0365, allocations: 206.6 kB / 357 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.03656, allocations: 115.3 kB / 357.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.03715, allocations: 0.4884 MB / 357.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.03715, allocations: 4 kB / 357.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.03716, allocations: 0 / 357.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.03716, allocations: 0 / 357.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.03751, allocations: 0.5067 MB / 358.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/0.03754, allocations: 32 kB / 358.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.0377, allocations: 59.89 kB / 358.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.657e-05/0.03776, allocations: 28.83 kB / 358.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.03778, allocations: 16 kB / 358.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000604/0.03838, allocations: 1.33 MB / 359.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.03838, allocations: 3.984 kB / 359.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.03905, allocations: 0.6112 MB / 360.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.03917, allocations: 111.2 kB / 360.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.03921, allocations: 8 kB / 360.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.03931, allocations: 15.92 kB / 360.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.03938, allocations: 27.95 kB / 360.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.0394, allocations: 16 kB / 360.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.03979, allocations: 0.5465 MB / 360.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03979, allocations: 0 / 360.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.04017, allocations: 243.4 kB / 361.2 MB, free: 10.51 MB / 330.7 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.001173/0.04134, allocations: 1.441 MB / 362.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.0419, allocations: 468.5 kB / 363.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0419, allocations: 0 / 363.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.04216, allocations: 313 kB / 363.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.0425, allocations: 112.4 kB / 363.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.04831, allocations: 5.86 MB / 369.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.04851, allocations: 369.5 kB / 369.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.04868, allocations: 93.19 kB / 369.8 MB, free: 1.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.04889, allocations: 316.4 kB / 370.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0489, allocations: 0 / 370.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.08118, allocations: 18.54 MB / 388.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/7.943, allocations: 7.812 kB / 388.7 MB, free: 14.93 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.675097592175007] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 8.03827243950218 8.045590062 8.020337518 Calling exit ...