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.001347/0.001347, allocations: 112.1 kB / 21.18 MB, free: 0.7148 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.001358/0.001358, allocations: 216.7 kB / 24.49 MB, free: 4.086 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.412/1.412, allocations: 207.6 MB / 235.3 MB, free: 9.973 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.001903/0.001903, allocations: 52.25 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 49.17 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005634/0.2861, allocations: 5.052 MB / 401.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.2994, allocations: 10.49 MB / 411.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3008, allocations: 42.69 kB / 411.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.3034, allocations: 0.6904 MB / 412.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.3083, allocations: 1.006 MB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.3109, allocations: 0.6032 MB / 414.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.3142, allocations: 1.352 MB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.3146, allocations: 119.1 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.3152, allocations: 284.8 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.3157, allocations: 326.3 kB / 416.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.3158, allocations: 31.88 kB / 416.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.3183, allocations: 0.6765 MB / 417 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.3185, allocations: 107.4 kB / 417.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.3192, allocations: 402 kB / 417.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.3218, allocations: 1.268 MB / 418.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3218, allocations: 0 / 418.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3219, allocations: 0 / 418.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.3219, allocations: 1.094 kB / 418.8 MB, free: 9.812 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.002494/0.3244, allocations: 1.284 MB / 420.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3244, allocations: 17.23 kB / 420.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.3245, allocations: 68.2 kB / 420.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.3247, allocations: 122.1 kB / 420.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3261, allocations: 0.6882 MB / 420.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3261, allocations: 18.62 kB / 421 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.3262, allocations: 29.44 kB / 421 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.3269, allocations: 318.5 kB / 421.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3269, allocations: 4 kB / 421.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.3269, allocations: 10.41 kB / 421.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.327, allocations: 10.91 kB / 421.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.3276, allocations: 280.9 kB / 421.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.3301, allocations: 1.324 MB / 422.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.3308, allocations: 268.7 kB / 423.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.3312, allocations: 222.1 kB / 423.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003967/0.3351, allocations: 1.473 MB / 424.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.3356, allocations: 188.8 kB / 425.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.365e-06/0.3356, allocations: 0 / 425.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001806/0.3374, allocations: 0.5818 MB / 425.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3375, allocations: 58.38 kB / 425.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3387, allocations: 0.8216 MB / 426.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.3387, allocations: 36.2 kB / 426.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.3391, allocations: 447.2 kB / 427 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3393, allocations: 106 kB / 427.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3394, allocations: 73.84 kB / 427.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3396, allocations: 322.2 kB / 427.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3398, allocations: 111.5 kB / 427.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3402, allocations: 222.7 kB / 427.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.3409, allocations: 364.9 kB / 428.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3409, allocations: 0 / 428.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001187/0.3421, allocations: 0.5253 MB / 428.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3421, allocations: 8 kB / 428.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/0.3422, allocations: 32 kB / 428.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.3424, allocations: 57.62 kB / 428.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3428, allocations: 84.23 kB / 428.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3452, allocations: 2.637 MB / 431.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.3457, allocations: 47.66 kB / 431.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.3458, allocations: 20 kB / 431.6 MB, free: 15.38 MB / 350.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.0003467/0.3461, allocations: 205.7 kB / 431.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.3463, allocations: 111.3 kB / 431.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3474, allocations: 497.1 kB / 432.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3474, allocations: 8 kB / 432.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3474, allocations: 0 / 432.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3474, allocations: 0 / 432.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.3482, allocations: 0.5301 MB / 432.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-05/0.3483, allocations: 32 kB / 432.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3485, allocations: 39.95 kB / 433 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.3487, allocations: 49.62 kB / 433 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.3487, allocations: 12 kB / 433 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.351, allocations: 2.641 MB / 435.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.351, allocations: 64 / 435.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3524, allocations: 0.6158 MB / 436.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.3528, allocations: 111.2 kB / 436.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3529, allocations: 8 kB / 436.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.3531, allocations: 15.98 kB / 436.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.3532, allocations: 27.89 kB / 436.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3532, allocations: 15.94 kB / 436.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.354, allocations: 0.5506 MB / 437 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 437 MB, free: 9.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.3549, allocations: 235.4 kB / 437.2 MB, free: 9.371 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.002372/0.3572, allocations: 1.414 MB / 438.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3584, allocations: 0.5659 MB / 439.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3584, allocations: 0 / 439.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.3591, allocations: 418.9 kB / 439.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.3597, allocations: 104.4 kB / 439.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009667/0.3694, allocations: 5.819 MB / 445.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.37, allocations: 0.9483 MB / 446.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.3703, allocations: 89.2 kB / 446.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.3708, allocations: 327.3 kB / 446.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3708, allocations: 0 / 446.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06446/0.4353, allocations: 17.84 MB / 464.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.8, allocations: 11.94 kB / 464.8 MB, free: 13.43 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.25385366199771] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.920874150004238 13.947079759 13.619922893 Calling exit ...