Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001645/0.001645, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002171/0.002171, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.91 kB / 378.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2693, allocations: 53.41 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003878/0.2732, allocations: 2.651 MB / 434.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2744, allocations: 0.6895 MB / 435.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2745, allocations: 4 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2746, allocations: 31.66 kB / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2748, allocations: 79.27 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.2751, allocations: 95.8 kB / 435.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2755, allocations: 366.7 kB / 435.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.2757, allocations: 62.27 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2758, allocations: 143.5 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.2761, allocations: 151.4 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.2761, allocations: 32 kB / 436.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.2762, allocations: 32 kB / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.2762, allocations: 67.64 kB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2764, allocations: 143.3 kB / 436.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.2768, allocations: 334.4 kB / 436.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2768, allocations: 4 kB / 436.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2768, allocations: 0 / 436.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2768, allocations: 0 / 436.8 MB, free: 1.824 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.001117/0.2779, allocations: 0.5672 MB / 437.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.278, allocations: 8.031 kB / 437.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.168e-05/0.278, allocations: 8.625 kB / 437.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.2781, allocations: 58.73 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2781, allocations: 36.75 kB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.2785, allocations: 198.6 kB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.2786, allocations: 153.5 kB / 437.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.2787, allocations: 28.12 kB / 437.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.2792, allocations: 257.8 kB / 438.1 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2792, allocations: 4 kB / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.2792, allocations: 8 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2792, allocations: 4 kB / 438.2 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.2798, allocations: 197.6 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.2811, allocations: 0.8235 MB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.2816, allocations: 198.6 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2819, allocations: 111.5 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.282, allocations: 3.984 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.2824, allocations: 181.4 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2824, allocations: 0 / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001444/0.2838, allocations: 422.5 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.2839, allocations: 110.8 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.2841, allocations: 206.8 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.2841, allocations: 37.73 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2843, allocations: 148.4 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.2843, allocations: 71.42 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2845, allocations: 53.92 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2846, allocations: 334.8 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2849, allocations: 104.1 kB / 441.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.2852, allocations: 133.3 kB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2857, allocations: 243.1 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2857, allocations: 3.938 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000793/0.2865, allocations: 403.5 kB / 441.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.2865, allocations: 67.39 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2865, allocations: 0 / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.2869, allocations: 104.9 kB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2871, allocations: 31.97 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.2895, allocations: 1.983 MB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.29, allocations: 67.92 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.29, allocations: 15.98 kB / 444.1 MB, free: 10.07 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.0001792/0.2902, allocations: 145.7 kB / 444.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.2903, allocations: 23.8 kB / 444.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.2903, allocations: 33.8 kB / 444.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2903, allocations: 0 / 444.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2903, allocations: 0 / 444.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2903, allocations: 4 kB / 444.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.2908, allocations: 418.2 kB / 444.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2908, allocations: 0 / 444.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.291, allocations: 27.97 kB / 444.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.2913, allocations: 112.9 kB / 444.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2913, allocations: 4 kB / 444.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.2938, allocations: 1.965 MB / 446.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2938, allocations: 96 / 446.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.2947, allocations: 406.4 kB / 447.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.2948, allocations: 36.05 kB / 447.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.2948, allocations: 4 kB / 447.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.295, allocations: 19.97 kB / 447.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.2951, allocations: 27.95 kB / 447.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2952, allocations: 15.98 kB / 447.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.2953, allocations: 144.6 kB / 447.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 447.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.2958, allocations: 87.89 kB / 447.6 MB, free: 6.426 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.001272/0.297, allocations: 0.9448 MB / 448.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2981, allocations: 473.8 kB / 449 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2981, allocations: 0 / 449 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.2986, allocations: 245.5 kB / 449.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.299, allocations: 55.98 kB / 449.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.3033, allocations: 2.72 MB / 452 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.3037, allocations: 0.744 MB / 452.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.3038, allocations: 17.95 kB / 452.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3039, allocations: 71.39 kB / 452.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3039, allocations: 0 / 452.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3356, allocations: 7.375 MB / 460.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.94, allocations: 19.59 kB / 460.2 MB, free: 9.703 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer_fmu --startTime=0 --stopTime=1 --stepSize=1.00001e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.887672444980126] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'bufferCapacitor.v', 'bufferCapacitor.i'] 13.108455014007632 13.130111337 12.849276211 Calling exit ...