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.001265/0.001265, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001352/0.001352, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002001/0.002001, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2726, allocations: 53.38 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003983/0.2766, allocations: 2.662 MB / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2779, allocations: 0.6778 MB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2781, allocations: 7.938 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2782, allocations: 35.58 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2784, allocations: 79.34 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2787, allocations: 95.8 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.2791, allocations: 354.8 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2793, allocations: 62.27 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2795, allocations: 147.5 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.2797, allocations: 151.4 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.2798, allocations: 28 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.2798, allocations: 35.94 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.2799, allocations: 59.81 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.28, allocations: 155.2 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.2804, allocations: 330.4 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2804, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2804, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2805, allocations: 0 / 436.8 MB, free: 2.016 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001078/0.2815, allocations: 0.5695 MB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2816, allocations: 12.03 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.2816, allocations: 58.73 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.2817, allocations: 32.75 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.2821, allocations: 198.6 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.2822, allocations: 161.4 kB / 437.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2823, allocations: 24.38 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.2828, allocations: 257.8 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2828, allocations: 0 / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.2829, allocations: 12 kB / 438.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2829, allocations: 4 kB / 438.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.2834, allocations: 197.6 kB / 438.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2847, allocations: 0.8274 MB / 439.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.2852, allocations: 190.6 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2855, allocations: 112.8 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2855, allocations: 0 / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.2859, allocations: 185.8 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.2859, allocations: 0 / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00138/0.2873, allocations: 410.5 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.2874, allocations: 114.8 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.2876, allocations: 210.7 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2877, allocations: 33.7 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2878, allocations: 152.4 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.2879, allocations: 71.42 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.288, allocations: 53.94 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2881, allocations: 326.8 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2884, allocations: 100.2 kB / 441 MB, free: 13.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.2887, allocations: 139.8 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.2892, allocations: 255 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2892, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008155/0.29, allocations: 403.4 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.2901, allocations: 63.41 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2901, allocations: 0 / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.2905, allocations: 112.8 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2906, allocations: 35.92 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.2931, allocations: 1.969 MB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.2936, allocations: 75.8 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2936, allocations: 8 kB / 444.1 MB, free: 10.27 MB / 350.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.0001641/0.2938, allocations: 144.9 kB / 444.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.2938, allocations: 27.8 kB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.2939, allocations: 29.8 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2939, allocations: 0 / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2939, allocations: 4 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2939, allocations: 0 / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.2944, allocations: 422.2 kB / 444.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2944, allocations: 4.031 kB / 444.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.2945, allocations: 27.91 kB / 444.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.2948, allocations: 108.9 kB / 444.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.2948, allocations: 4 kB / 444.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.2971, allocations: 1.977 MB / 446.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2971, allocations: 4.031 kB / 446.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.298, allocations: 408.4 kB / 447.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.2981, allocations: 31.91 kB / 447.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.2981, allocations: 0 / 447.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2983, allocations: 23.98 kB / 447.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2984, allocations: 31.94 kB / 447.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2984, allocations: 4 kB / 447.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.2986, allocations: 152.6 kB / 447.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2986, allocations: 0 / 447.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.299, allocations: 87.89 kB / 447.5 MB, free: 6.609 MB / 350.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.001203/0.3002, allocations: 0.9512 MB / 448.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009367/0.3011, allocations: 469.1 kB / 448.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3012, allocations: 4 kB / 448.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.3016, allocations: 238.7 kB / 449.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3019, allocations: 55.92 kB / 449.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.3062, allocations: 2.723 MB / 452 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3066, allocations: 0.748 MB / 452.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.3067, allocations: 13.95 kB / 452.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3068, allocations: 67.41 kB / 452.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3068, allocations: 0 / 452.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.3454, allocations: 7.314 MB / 460.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.17, allocations: 6.734 kB / 460.1 MB, free: 9.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer_fmu --startTime=0 --stopTime=1 --stepSize=1.00001e-05 --timeout=50 --tolerance=1e-06 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.69068589201197] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'bufferCapacitor.v', 'bufferCapacitor.i'] 12.269590929150581 12.286933959 12.003288456 Calling exit ...