Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2094, allocations: 53.36 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003722/0.2132, allocations: 2.484 MB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2143, allocations: 0.6389 MB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2144, allocations: 8 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2145, allocations: 43.58 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2147, allocations: 71.34 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.215, allocations: 91.81 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.2154, allocations: 362.8 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.2155, allocations: 63.05 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.2157, allocations: 155.5 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2159, allocations: 147.4 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.216, allocations: 32 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.216, allocations: 28 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.2161, allocations: 59.83 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2162, allocations: 127.4 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.2166, allocations: 334.4 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2166, allocations: 3.938 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2166, allocations: 0 / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2166, allocations: 0 / 437 MB, free: 2.074 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.00112/0.2177, allocations: 0.5738 MB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2178, allocations: 12.03 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.2179, allocations: 32.75 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2182, allocations: 187.4 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.2183, allocations: 153.5 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.2184, allocations: 32.38 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.219, allocations: 335 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.219, allocations: 0 / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.219, allocations: 15.94 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.219, allocations: 4 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.2195, allocations: 193.6 kB / 438.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2208, allocations: 0.7305 MB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.2213, allocations: 186.6 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.2216, allocations: 116.8 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2216, allocations: 352 / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.222, allocations: 269 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.222, allocations: 0 / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001449/0.2235, allocations: 414.2 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.2235, allocations: 110.8 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2237, allocations: 195.8 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2238, allocations: 33.7 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2239, allocations: 160.4 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.224, allocations: 67.42 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2241, allocations: 57.92 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2242, allocations: 330.8 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.2245, allocations: 151.6 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.2249, allocations: 229.7 kB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.2254, allocations: 247 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2254, allocations: 0 / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008775/0.2263, allocations: 463 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.2263, allocations: 67.33 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2263, allocations: 0 / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.2267, allocations: 104.8 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.2269, allocations: 39.91 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.2293, allocations: 1.931 MB / 444.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.2298, allocations: 67.89 kB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2298, allocations: 11.94 kB / 444.4 MB, free: 10.14 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.0001496/0.2299, allocations: 137.8 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.23, allocations: 27.84 kB / 444.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.23, allocations: 25.81 kB / 444.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2301, allocations: 3.938 kB / 444.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2301, allocations: 3.984 kB / 444.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.2301, allocations: 31.83 kB / 444.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.2302, allocations: 12 kB / 444.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2304, allocations: 23.97 kB / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.2305, allocations: 23.95 kB / 444.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001/0.2315, allocations: 447.5 kB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008965/0.2324, allocations: 0.5709 MB / 445.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000242/0.2326, allocations: 79.94 kB / 445.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.2328, allocations: 149.5 kB / 445.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Backend: time 2.6e-07/0.2328, allocations: 0 / 445.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.2339, allocations: 0.5225 MB / 446.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of SimCode: time 0.00115/0.235, allocations: 0.9847 MB / 447.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of Templates: time 0.009662/0.2447, allocations: 5.202 MB / 452.6 MB, free: 1.855 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.382999754998309] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'bufferCapacitor.v', 'bufferCapacitor.i'] 0.2525416220014449 0.26687020499999997 0.047186045 Calling exit ...