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.001598/0.001598, allocations: 113.1 kB / 21.22 MB, free: 0.5 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.002056/0.002056, allocations: 218.1 kB / 24.52 MB, free: 3.676 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 7.762 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.001861/0.001861, allocations: 59.91 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.277, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.005539/0.2825, allocations: 2.486 MB / 434.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2843, allocations: 0.6544 MB / 435.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2845, allocations: 0 / 435.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2847, allocations: 31.66 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.2849, allocations: 75.28 kB / 435.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.2854, allocations: 103.8 kB / 435.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.286, allocations: 362.7 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.2862, allocations: 65.12 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.2865, allocations: 143.5 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2867, allocations: 147.4 kB / 436 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2868, allocations: 32 kB / 436 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.2868, allocations: 28 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/0.2869, allocations: 63.7 kB / 436.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2871, allocations: 127.5 kB / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.2875, allocations: 338.6 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2875, allocations: 4 kB / 436.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2875, allocations: 0 / 436.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2875, allocations: 0 / 436.5 MB, free: 1.828 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.001199/0.2887, allocations: 0.5633 MB / 437.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2888, allocations: 12.03 kB / 437.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.173e-05/0.2888, allocations: 8.625 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.2889, allocations: 62.73 kB / 437.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.289, allocations: 32.75 kB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.2894, allocations: 198.6 kB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.2895, allocations: 153.5 kB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.2896, allocations: 28.12 kB / 437.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.2903, allocations: 334.9 kB / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2903, allocations: 0 / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2904, allocations: 4 kB / 437.9 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2904, allocations: 12 kB / 437.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.2909, allocations: 197.6 kB / 438.1 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2924, allocations: 0.7651 MB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.2929, allocations: 186.7 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.2932, allocations: 119.5 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2932, allocations: 3.938 kB / 439.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.2937, allocations: 262.3 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2937, allocations: 0 / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001466/0.2952, allocations: 414.5 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.2952, allocations: 110.8 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.2955, allocations: 206.8 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.2955, allocations: 33.7 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2957, allocations: 160.3 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.2957, allocations: 71.47 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2958, allocations: 53.92 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.296, allocations: 326.8 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.2963, allocations: 159.5 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2967, allocations: 222.4 kB / 441.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.2972, allocations: 247.1 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2972, allocations: 3.938 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008995/0.2981, allocations: 466.8 kB / 441.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.2982, allocations: 63.41 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2982, allocations: 0 / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.2986, allocations: 108.8 kB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.2988, allocations: 27.98 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.3013, allocations: 1.954 MB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.3018, allocations: 67.89 kB / 444.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.3019, allocations: 23.92 kB / 444.1 MB, free: 9.727 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.0001882/0.302, allocations: 137.8 kB / 444.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3021, allocations: 23.8 kB / 444.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.3022, allocations: 29.8 kB / 444.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3022, allocations: 4 kB / 444.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3022, allocations: 0 / 444.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3022, allocations: 0 / 444.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3027, allocations: 394.3 kB / 444.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3027, allocations: 4.031 kB / 444.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3029, allocations: 23.98 kB / 444.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.3032, allocations: 112.7 kB / 444.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3032, allocations: 0 / 444.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.3056, allocations: 1.949 MB / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3056, allocations: 0 / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.3066, allocations: 406.6 kB / 447.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.3067, allocations: 35.91 kB / 447.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.3067, allocations: 0 / 447.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3069, allocations: 27.91 kB / 447.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.307, allocations: 31.95 kB / 447.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.307, allocations: 4 kB / 447.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3072, allocations: 144.6 kB / 447.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3072, allocations: 192 / 447.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.3077, allocations: 87.89 kB / 447.5 MB, free: 6.141 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.00126/0.3089, allocations: 0.9521 MB / 448.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.31, allocations: 0.5207 MB / 449 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.31, allocations: 0 / 449 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.3105, allocations: 245.2 kB / 449.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3109, allocations: 60.19 kB / 449.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.3156, allocations: 2.946 MB / 452.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3158, allocations: 142.2 kB / 452.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.3159, allocations: 17.94 kB / 452.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3161, allocations: 71.42 kB / 452.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3161, allocations: 0 / 452.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/0.366, allocations: 7.434 MB / 459.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.24, allocations: 4.062 kB / 459.9 MB, free: 9.648 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: 17.034493837039918] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'bufferCapacitor.v', 'bufferCapacitor.i'] 13.408854778041132 13.424062307 13.133446782 Calling exit ...