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.001518/0.001518, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.00169/0.00169, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.469/1.469, allocations: 230.5 MB / 255.4 MB, free: 15 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: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=99999,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer")
translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=99999,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [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.00192/0.00192, allocations: 63.91 kB / 374.8 MB, free: 9.73 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 53.32 MB / 428.1 MB, free: 4.32 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004223/0.1175, allocations: 2.633 MB / 430.7 MB, free: 1.668 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001386/0.1189, allocations: 0.6778 MB / 431.4 MB, free: 0.9844 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.119, allocations: 4 kB / 431.4 MB, free: 0.9805 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1192, allocations: 35.58 kB / 431.4 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1194, allocations: 83.34 kB / 431.5 MB, free: 0.8633 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1197, allocations: 91.8 kB / 431.6 MB, free: 0.7734 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004463/0.1201, allocations: 362.7 kB / 432 MB, free: 428 kB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.1203, allocations: 68.88 kB / 432 MB, free: 352 kB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1205, allocations: 139.5 kB / 432.2 MB, free: 212 kB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1207, allocations: 159.3 kB / 432.3 MB, free: 52 kB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.1208, allocations: 32 kB / 432.3 MB, free: 20 kB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.2183/0.3391, allocations: 29.67 kB / 432.4 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3392, allocations: 58.45 kB / 432.4 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.3395, allocations: 141.1 kB / 432.6 MB, free: 9.016 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.3401, allocations: 329 kB / 432.9 MB, free: 8.973 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3401, allocations: 0 / 432.9 MB, free: 8.973 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.384e-06/0.3401, allocations: 1.812 kB / 432.9 MB, free: 8.973 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.785e-06/0.3401, allocations: 0 / 432.9 MB, free: 8.973 MB / 350.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.00113/0.3412, allocations: 0.6491 MB / 433.5 MB, free: 8.473 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3412, allocations: 9.156 kB / 433.5 MB, free: 8.473 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.3413, allocations: 34.66 kB / 433.6 MB, free: 8.457 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.3417, allocations: 254.7 kB / 433.8 MB, free: 8.238 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.3418, allocations: 95.64 kB / 433.9 MB, free: 8.145 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.3419, allocations: 30.12 kB / 434 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.3424, allocations: 256.4 kB / 434.2 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3424, allocations: 1.125 kB / 434.2 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.3424, allocations: 9.281 kB / 434.2 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3424, allocations: 5.844 kB / 434.2 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.3429, allocations: 206.4 kB / 434.4 MB, free: 8.082 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.344, allocations: 0.8534 MB / 435.3 MB, free: 7.637 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.3445, allocations: 196.9 kB / 435.5 MB, free: 7.609 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3448, allocations: 111.5 kB / 435.6 MB, free: 7.602 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3448, allocations: 7 kB / 435.6 MB, free: 7.602 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.3451, allocations: 178.5 kB / 435.8 MB, free: 7.527 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.3451, allocations: 0 / 435.8 MB, free: 7.527 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001469/0.3466, allocations: 490.8 kB / 436.2 MB, free: 7.383 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3466, allocations: 110.8 kB / 436.3 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3468, allocations: 211.1 kB / 436.6 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3468, allocations: 33.61 kB / 436.6 MB, free: 7.113 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.3469, allocations: 157.1 kB / 436.7 MB, free: 7.004 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.347, allocations: 73.38 kB / 436.8 MB, free: 6.957 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3471, allocations: 50.7 kB / 436.9 MB, free: 6.938 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 7.857e-05/0.3471, allocations: 331.8 kB / 437.2 MB, free: 6.625 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3474, allocations: 95.8 kB / 437.3 MB, free: 6.625 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3477, allocations: 137.1 kB / 437.4 MB, free: 6.59 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.3481, allocations: 246.1 kB / 437.7 MB, free: 6.5 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3481, allocations: 0 / 437.7 MB, free: 6.5 MB / 350.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007695/0.3489, allocations: 408 kB / 438 MB, free: 6.375 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.349, allocations: 63.45 kB / 438.1 MB, free: 6.312 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.349, allocations: 0 / 438.1 MB, free: 6.312 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.3493, allocations: 117.8 kB / 438.2 MB, free: 6.301 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3495, allocations: 32.25 kB / 438.3 MB, free: 6.297 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.3516, allocations: 2.071 MB / 440.3 MB, free: 4.516 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.3521, allocations: 69.03 kB / 440.4 MB, free: 4.5 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3521, allocations: 13.12 kB / 440.4 MB, free: 4.496 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.0001333/0.3523, allocations: 140.2 kB / 440.5 MB, free: 4.367 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3523, allocations: 27.45 kB / 440.6 MB, free: 4.352 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3524, allocations: 28.48 kB / 440.6 MB, free: 4.332 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3524, allocations: 6.438 kB / 440.6 MB, free: 4.328 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3524, allocations: 1.484 kB / 440.6 MB, free: 4.328 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3524, allocations: 2.234 kB / 440.6 MB, free: 4.328 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.3528, allocations: 442.9 kB / 441 MB, free: 3.957 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3528, allocations: 1.672 kB / 441 MB, free: 3.957 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3529, allocations: 31.5 kB / 441.1 MB, free: 3.953 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.3532, allocations: 106.3 kB / 441.2 MB, free: 3.918 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3532, allocations: 5.844 kB / 441.2 MB, free: 3.914 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.355, allocations: 2.073 MB / 443.3 MB, free: 2.105 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.355, allocations: 1.312 kB / 443.3 MB, free: 2.105 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.3558, allocations: 409.5 kB / 443.7 MB, free: 1.898 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.3559, allocations: 108.9 kB / 443.8 MB, free: 1.789 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3559, allocations: 3.359 kB / 443.8 MB, free: 1.789 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3562, allocations: 26.62 kB / 443.8 MB, free: 1.781 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3563, allocations: 29.12 kB / 443.8 MB, free: 1.773 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3563, allocations: 5.344 kB / 443.8 MB, free: 1.773 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.000126/0.3564, allocations: 149 kB / 444 MB, free: 1.68 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3564, allocations: 0 / 444 MB, free: 1.68 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004307/0.3568, allocations: 90.05 kB / 444.1 MB, free: 1.664 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.0001192/0.3569, allocations: 108.3 kB / 444.2 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008832/0.3578, allocations: 482.3 kB / 444.6 MB, free: 1.242 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3578, allocations: 0 / 444.6 MB, free: 1.242 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000411/0.3582, allocations: 239.5 kB / 444.9 MB, free: 1.086 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3586, allocations: 56.59 kB / 444.9 MB, free: 1.074 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3596, allocations: 0.5557 MB / 445.5 MB, free: 0.7148 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3598, allocations: 0.7523 MB / 446.2 MB, free: 8 kB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.3599, allocations: 22.12 kB / 446.3 MB, free: 16 MB / 366.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3599, allocations: 0 / 446.3 MB, free: 16 MB / 366.1 MB
Notification: Performance of Templates: time 0.007965/0.3679, allocations: 4.123 MB / 450.4 MB, free: 15.73 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660]
(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 & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.592532846843824]
Failed to read output from testmodel.py, exit status != 0:
0.3760374381672591 0.38905573400000004 0.046143781
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb7d24d6050>