Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.5 MB / 254.8 MB, free: 15.26 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 75.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.00424/0.1096, allocations: 2.639 MB / 429.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1112, allocations: 0.67 MB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1113, allocations: 4 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1115, allocations: 31.66 kB / 430.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1116, allocations: 83.27 kB / 430.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.112, allocations: 95.86 kB / 430.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1124, allocations: 366.6 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1126, allocations: 64.89 kB / 431 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1128, allocations: 139.5 kB / 431.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.113, allocations: 155.4 kB / 431.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.113, allocations: 32 kB / 431.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.1131, allocations: 32 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.1131, allocations: 63.7 kB / 431.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.1133, allocations: 143.4 kB / 431.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.1137, allocations: 334.8 kB / 431.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1137, allocations: 0 / 431.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1137, allocations: 4 kB / 431.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1137, allocations: 0 / 431.9 MB, free: 15.93 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001178/0.1149, allocations: 0.6386 MB / 432.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1149, allocations: 8.031 kB / 432.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.115, allocations: 62.72 kB / 432.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.1151, allocations: 36.69 kB / 432.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1155, allocations: 255.8 kB / 432.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1157, allocations: 98.11 kB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1157, allocations: 24.38 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.1165, allocations: 257.7 kB / 433.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1165, allocations: 3.984 kB / 433.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.1165, allocations: 12 kB / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1165, allocations: 4 kB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.1174, allocations: 201.6 kB / 433.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1193, allocations: 0.8595 MB / 434.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1201, allocations: 194.6 kB / 434.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.1205, allocations: 116.8 kB / 434.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1205, allocations: 0 / 434.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005506/0.1211, allocations: 180.4 kB / 434.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.1211, allocations: 3.938 kB / 434.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.002224/0.1233, allocations: 489.4 kB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1234, allocations: 122.8 kB / 435.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.1237, allocations: 202.8 kB / 435.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.1238, allocations: 33.7 kB / 435.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.124, allocations: 152.4 kB / 435.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.124, allocations: 67.42 kB / 435.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1242, allocations: 53.92 kB / 435.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1244, allocations: 330.8 kB / 436.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1248, allocations: 108.1 kB / 436.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.1252, allocations: 135.8 kB / 436.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.126, allocations: 242.9 kB / 436.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.126, allocations: 0 / 436.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001261/0.1273, allocations: 411.6 kB / 437.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.1274, allocations: 59.41 kB / 437.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1274, allocations: 0 / 437.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.1279, allocations: 116.8 kB / 437.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1281, allocations: 31.97 kB / 437.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.1319, allocations: 2.075 MB / 439.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.1327, allocations: 67.89 kB / 439.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.1327, allocations: 12 kB / 439.4 MB, free: 7.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.1329, allocations: 141.8 kB / 439.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.133, allocations: 23.8 kB / 439.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.1331, allocations: 29.86 kB / 439.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1331, allocations: 4 kB / 439.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1331, allocations: 0 / 439.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1331, allocations: 0 / 439.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.1339, allocations: 451.1 kB / 440.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1339, allocations: 4.031 kB / 440.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1342, allocations: 27.97 kB / 440.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.1347, allocations: 108.7 kB / 440.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1347, allocations: 4 kB / 440.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.1382, allocations: 2.084 MB / 442.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1382, allocations: 0 / 442.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1397, allocations: 402.6 kB / 442.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.1398, allocations: 109 kB / 442.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.1399, allocations: 8 kB / 442.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1402, allocations: 19.97 kB / 442.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.1403, allocations: 27.97 kB / 442.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.1404, allocations: 4 kB / 442.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1406, allocations: 152.7 kB / 443 MB, free: 4.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1406, allocations: 0 / 443 MB, free: 4.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007312/0.1413, allocations: 87.89 kB / 443.1 MB, free: 3.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/0.1432, allocations: 0.9457 MB / 444 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.1447, allocations: 469.1 kB / 444.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1447, allocations: 0 / 444.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.1454, allocations: 247.9 kB / 444.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.1459, allocations: 63.95 kB / 444.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2066/0.3526, allocations: 2.703 MB / 447.5 MB, free: 23.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.3528, allocations: 0.7466 MB / 448.2 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.3529, allocations: 15.03 kB / 448.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.353, allocations: 69.91 kB / 448.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.353, allocations: 0 / 448.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.4036, allocations: 7.175 MB / 455.5 MB, free: 22.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.01, allocations: 1.188 kB / 455.5 MB, free: 22.08 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.00001e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.521209708880633] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'bufferCapacitor.v', 'bufferCapacitor.i'] 12.106112346984446 12.116803794 12.000867035 Calling exit ...