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.001558/0.001558, allocations: 115 kB / 21.17 MB, free: 0.7812 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.001689/0.001689, allocations: 219.6 kB / 24.47 MB, free: 4.359 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.445/1.445, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001908/0.001908, allocations: 71.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.00529/0.3043, allocations: 2.655 MB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3061, allocations: 0.6739 MB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.3064, allocations: 4 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3066, allocations: 35.59 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.307, allocations: 83.27 kB / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.3074, allocations: 99.8 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.3082, allocations: 354.7 kB / 436 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3084, allocations: 62.48 kB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.3087, allocations: 143.5 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.3091, allocations: 155.4 kB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.3092, allocations: 28 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.3093, allocations: 35.94 kB / 436.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3094, allocations: 55.83 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3096, allocations: 147.3 kB / 436.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.3102, allocations: 334.6 kB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.3102, allocations: 7.984 kB / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3102, allocations: 0 / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3102, allocations: 0 / 436.9 MB, free: 2.504 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.00151/0.3118, allocations: 0.6386 MB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3118, allocations: 12.03 kB / 437.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3119, allocations: 32.75 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.3125, allocations: 256.3 kB / 437.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.3126, allocations: 102.1 kB / 437.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.3127, allocations: 24.38 kB / 438 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.3133, allocations: 257.9 kB / 438.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3133, allocations: 7.938 kB / 438.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.3134, allocations: 11.98 kB / 438.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3134, allocations: 4 kB / 438.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.314, allocations: 197.6 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.3155, allocations: 0.8595 MB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.3161, allocations: 194.6 kB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.3164, allocations: 108.8 kB / 439.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3164, allocations: 4 kB / 439.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.3169, allocations: 189.7 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.3169, allocations: 0 / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00159/0.3185, allocations: 490.2 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3186, allocations: 110.8 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3188, allocations: 210.8 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.3189, allocations: 33.7 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.319, allocations: 156.3 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.3191, allocations: 67.48 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3192, allocations: 53.94 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3194, allocations: 330.8 kB / 441.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.3197, allocations: 96.17 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.32, allocations: 144.3 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.3205, allocations: 242.8 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3205, allocations: 4 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009031/0.3214, allocations: 403.5 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.3215, allocations: 67.39 kB / 442.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3215, allocations: 0 / 442.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.3219, allocations: 108.8 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3221, allocations: 39.91 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.325, allocations: 2.069 MB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.3255, allocations: 71.92 kB / 444.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.3255, allocations: 11.94 kB / 444.4 MB, free: 10.46 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.0002054/0.3257, allocations: 141.8 kB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.3258, allocations: 31.73 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.3258, allocations: 25.88 kB / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3258, allocations: 7.984 kB / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3258, allocations: 0 / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3258, allocations: 0 / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.3265, allocations: 447.1 kB / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3265, allocations: 0 / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3266, allocations: 36 kB / 445.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.3269, allocations: 100.8 kB / 445.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3269, allocations: 8 kB / 445.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.3295, allocations: 2.07 MB / 447.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3295, allocations: 4.031 kB / 447.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.3305, allocations: 421.2 kB / 447.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3306, allocations: 109 kB / 447.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.3307, allocations: 4 kB / 447.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3309, allocations: 23.97 kB / 447.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.331, allocations: 23.97 kB / 447.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.331, allocations: 8 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.3312, allocations: 144.6 kB / 448 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3312, allocations: 0 / 448 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.3316, allocations: 95.95 kB / 448.1 MB, free: 6.551 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.0001815/0.3318, allocations: 107.2 kB / 448.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3329, allocations: 473.1 kB / 448.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3329, allocations: 0 / 448.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.3334, allocations: 246.6 kB / 448.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3338, allocations: 48.05 kB / 448.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3352, allocations: 0.5667 MB / 449.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3357, allocations: 0.748 MB / 450.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.3358, allocations: 23.44 kB / 450.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3358, allocations: 0 / 450.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of Templates: time 0.007804/0.3436, allocations: 4.133 MB / 454.4 MB, free: 128 kB / 350.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.482419950887561] Failed to read output from testmodel.py, exit status != 0: 0.3532883361913264 0.36831453299999994 0.05476107 Calling exit ...