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.001398/0.001398, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001546/0.001546, allocations: 216.3 kB / 23.75 MB, free: 4.668 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8 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.00165/0.00165, allocations: 51.92 kB / 377.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2719, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007/0.2789, allocations: 5.109 MB / 436.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2934, allocations: 10.87 MB / 447.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009439/0.2944, allocations: 39.56 kB / 447.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.2967, allocations: 0.7044 MB / 447.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.3005, allocations: 1.028 MB / 448.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.3027, allocations: 0.6098 MB / 449.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.3057, allocations: 1.394 MB / 450.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3061, allocations: 117.8 kB / 451 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.3066, allocations: 298.5 kB / 451.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/0.3072, allocations: 322 kB / 451.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.3072, allocations: 35.94 kB / 451.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.3096, allocations: 0.7453 MB / 452.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3098, allocations: 107.3 kB / 452.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.3104, allocations: 401.4 kB / 452.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.3133, allocations: 1.284 MB / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3133, allocations: 0 / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3133, allocations: 0 / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.632e-05/0.3134, allocations: 4 kB / 454.2 MB, free: 15.71 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.002625/0.316, allocations: 1.278 MB / 455.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3161, allocations: 12.03 kB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.3161, allocations: 66.72 kB / 455.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.3163, allocations: 124.2 kB / 455.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.3177, allocations: 0.6799 MB / 456.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.3177, allocations: 16.66 kB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3178, allocations: 28 kB / 456.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.3185, allocations: 322 kB / 456.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3185, allocations: 0 / 456.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3185, allocations: 8 kB / 456.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3185, allocations: 12 kB / 456.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.3192, allocations: 282.4 kB / 457 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3215, allocations: 1.33 MB / 458.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.3222, allocations: 272.1 kB / 458.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.3226, allocations: 224.7 kB / 458.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003223/0.3259, allocations: 1.346 MB / 460.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.3264, allocations: 207.2 kB / 460.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/0.3264, allocations: 3.938 kB / 460.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001545/0.3279, allocations: 0.5575 MB / 460.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.328, allocations: 55.41 kB / 461 MB, free: 8.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.329, allocations: 0.8149 MB / 461.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.3291, allocations: 33.64 kB / 461.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.3295, allocations: 445 kB / 462.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3296, allocations: 115 kB / 462.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3297, allocations: 77.97 kB / 462.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3299, allocations: 321.9 kB / 462.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.3302, allocations: 116.7 kB / 462.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.3306, allocations: 218.6 kB / 463.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.3322, allocations: 0.712 MB / 463.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3322, allocations: 0 / 463.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001117/0.3333, allocations: 0.5139 MB / 464.3 MB, free: 5.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3334, allocations: 8 kB / 464.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.988e-05/0.3334, allocations: 40.36 kB / 464.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3336, allocations: 40.83 kB / 464.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.334, allocations: 79.83 kB / 464.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.3353, allocations: 1.334 MB / 465.8 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.3357, allocations: 47.72 kB / 465.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.3358, allocations: 16 kB / 465.9 MB, free: 3.523 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.0004337/0.3362, allocations: 209.7 kB / 466.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3363, allocations: 111.3 kB / 466.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3376, allocations: 496.3 kB / 466.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3376, allocations: 4 kB / 466.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3376, allocations: 0 / 466.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3376, allocations: 7.922 kB / 466.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.3383, allocations: 0.553 MB / 467.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/0.3384, allocations: 35.94 kB / 467.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.3387, allocations: 51.95 kB / 467.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.3388, allocations: 36.83 kB / 467.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3389, allocations: 12 kB / 467.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.3401, allocations: 1.338 MB / 468.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3401, allocations: 0 / 468.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.3414, allocations: 0.615 MB / 469.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.3417, allocations: 107.3 kB / 469.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.3418, allocations: 11.98 kB / 469.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.342, allocations: 11.98 kB / 469.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.3421, allocations: 23.95 kB / 469.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.3422, allocations: 16 kB / 469.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.3429, allocations: 0.5426 MB / 470 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3429, allocations: 0 / 470 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007348/0.3436, allocations: 251.3 kB / 470.3 MB, free: 14.91 MB / 382.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.002372/0.346, allocations: 1.41 MB / 471.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3471, allocations: 480.8 kB / 472.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.3471, allocations: 0 / 472.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.3477, allocations: 312.2 kB / 472.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.3484, allocations: 118.3 kB / 472.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3587, allocations: 5.942 MB / 478.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.3593, allocations: 0.9603 MB / 479.5 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.3596, allocations: 81.22 kB / 479.5 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.36, allocations: 311.3 kB / 479.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.36, allocations: 0 / 479.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/0.4215, allocations: 17.8 MB / 497.7 MB, free: 3.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.1, allocations: 21.61 kB / 497.7 MB, free: 3.406 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.61443527799929] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.223227873000724 14.253170303 13.934122632 Calling exit ...