Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001778/0.001778, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002389/0.002389, allocations: 213.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 59.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2745, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006162/0.2806, allocations: 4.432 MB / 400.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.2923, allocations: 8.999 MB / 409.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.2936, allocations: 46.31 kB / 409.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.2959, allocations: 0.5999 MB / 410.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.2996, allocations: 1.018 MB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3016, allocations: 0.5914 MB / 412 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.304, allocations: 1.36 MB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.3043, allocations: 111.8 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.3047, allocations: 287.7 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.3051, allocations: 297.7 kB / 414.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.3051, allocations: 31.12 kB / 414.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3066, allocations: 0.6454 MB / 414.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3067, allocations: 107.9 kB / 414.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.3071, allocations: 298.7 kB / 415.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.3087, allocations: 1.281 MB / 416.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3087, allocations: 3.938 kB / 416.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3087, allocations: 0 / 416.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.3087, allocations: 0 / 416.4 MB, free: 12.16 MB / 334.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.00211/0.3108, allocations: 1.284 MB / 417.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3109, allocations: 16.83 kB / 417.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.3109, allocations: 64.72 kB / 417.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3111, allocations: 121.7 kB / 417.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3123, allocations: 0.6841 MB / 418.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3123, allocations: 23.86 kB / 418.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.3124, allocations: 25.22 kB / 418.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.313, allocations: 317.8 kB / 418.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.313, allocations: 0 / 418.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.3131, allocations: 14.31 kB / 419 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3131, allocations: 6.875 kB / 419 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.3138, allocations: 280.3 kB / 419.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.3158, allocations: 1.269 MB / 420.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.3165, allocations: 268.8 kB / 420.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.3169, allocations: 213.1 kB / 421 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003453/0.3204, allocations: 1.437 MB / 422.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.3208, allocations: 190 kB / 422.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.564e-06/0.3208, allocations: 0 / 422.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00156/0.3223, allocations: 0.5847 MB / 423.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3224, allocations: 58.16 kB / 423.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3234, allocations: 0.8192 MB / 424.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3235, allocations: 35.67 kB / 424.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.3239, allocations: 453.8 kB / 424.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.324, allocations: 103.1 kB / 424.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3242, allocations: 77.97 kB / 424.7 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3243, allocations: 322 kB / 425 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.3246, allocations: 112.7 kB / 425.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.325, allocations: 220.1 kB / 425.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.3256, allocations: 364.9 kB / 425.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3256, allocations: 0 / 425.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001049/0.3267, allocations: 0.5176 MB / 426.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3267, allocations: 8 kB / 426.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/0.3268, allocations: 36 kB / 426.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.327, allocations: 54.11 kB / 426.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.3273, allocations: 83.81 kB / 426.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.3296, allocations: 2.633 MB / 429 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.33, allocations: 51.84 kB / 429.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.33, allocations: 19.94 kB / 429.1 MB, free: 1.668 MB / 334.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.0002957/0.3303, allocations: 201.7 kB / 429.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3304, allocations: 107.3 kB / 429.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3315, allocations: 0.4968 MB / 429.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3315, allocations: 4 kB / 429.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3315, allocations: 0 / 429.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3315, allocations: 0 / 429.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.3322, allocations: 0.5028 MB / 430.4 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-05/0.3323, allocations: 39.98 kB / 430.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3325, allocations: 47.89 kB / 430.5 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.3327, allocations: 45.69 kB / 430.6 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3327, allocations: 8 kB / 430.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3349, allocations: 2.633 MB / 433.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3349, allocations: 0 / 433.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3362, allocations: 0.6079 MB / 433.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3364, allocations: 111.4 kB / 433.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.3365, allocations: 8 kB / 433.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3367, allocations: 11.98 kB / 433.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3368, allocations: 27.95 kB / 434 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3368, allocations: 12 kB / 434 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006825/0.3375, allocations: 0.5506 MB / 434.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 434.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006857/0.3382, allocations: 243.3 kB / 434.8 MB, free: 11.69 MB / 350.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.0021/0.3403, allocations: 1.412 MB / 436.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3414, allocations: 0.5614 MB / 436.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3414, allocations: 0 / 436.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.3421, allocations: 427.8 kB / 437.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.3425, allocations: 96.27 kB / 437.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008858/0.3514, allocations: 5.807 MB / 443 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3518, allocations: 369.3 kB / 443.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.352, allocations: 85.2 kB / 443.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.3524, allocations: 331.3 kB / 443.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3524, allocations: 0 / 443.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/0.4096, allocations: 18.47 MB / 462.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.33, allocations: 4.062 kB / 462.3 MB, free: 15.71 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.873802348971367] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.45656145690009 13.476242026 13.163980932 Calling exit ...