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.001286/0.001286, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001382/0.001382, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 373.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 53.33 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004624/0.135, allocations: 2.639 MB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1367, allocations: 0.6778 MB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1368, allocations: 3.938 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.137, allocations: 31.66 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1372, allocations: 79.33 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1375, allocations: 99.8 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.138, allocations: 370.6 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1382, allocations: 64.89 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1384, allocations: 139.5 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1386, allocations: 151.4 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.1387, allocations: 32 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.1388, allocations: 28 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.1388, allocations: 59.77 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.139, allocations: 147.4 kB / 431.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.1395, allocations: 338.6 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1395, allocations: 0 / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1395, allocations: 0 / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1395, allocations: 3.938 kB / 431.5 MB, free: 156 kB / 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.001265/0.1408, allocations: 0.6465 MB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1408, allocations: 8.031 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.1409, allocations: 58.72 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1409, allocations: 32.75 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1414, allocations: 251.9 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.1415, allocations: 102.1 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.1415, allocations: 20.38 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.1421, allocations: 265.7 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1421, allocations: 0 / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1421, allocations: 8 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1421, allocations: 4 kB / 432.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.1426, allocations: 197.6 kB / 433.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1441, allocations: 0.8595 MB / 433.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.1446, allocations: 206.6 kB / 434.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.1449, allocations: 104.8 kB / 434.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1449, allocations: 4 kB / 434.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.1453, allocations: 188.7 kB / 434.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.1453, allocations: 0 / 434.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001412/0.1467, allocations: 490.2 kB / 434.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1468, allocations: 118.8 kB / 435 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.147, allocations: 206.8 kB / 435.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1471, allocations: 33.7 kB / 435.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1472, allocations: 152.4 kB / 435.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.1473, allocations: 71.42 kB / 435.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1474, allocations: 53.92 kB / 435.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1475, allocations: 326.8 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.1478, allocations: 100.2 kB / 436 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1481, allocations: 143.8 kB / 436.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1486, allocations: 246.8 kB / 436.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1486, allocations: 0 / 436.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007965/0.1494, allocations: 403.4 kB / 436.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.1494, allocations: 63.41 kB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1494, allocations: 3.938 kB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.1498, allocations: 112.8 kB / 436.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.15, allocations: 23.98 kB / 436.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.1525, allocations: 2.086 MB / 439 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.153, allocations: 67.83 kB / 439.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.153, allocations: 8 kB / 439.1 MB, free: 8.047 MB / 366.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.0001735/0.1532, allocations: 137.8 kB / 439.2 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.1532, allocations: 27.8 kB / 439.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.1533, allocations: 29.86 kB / 439.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1533, allocations: 4 kB / 439.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1533, allocations: 0 / 439.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1533, allocations: 0 / 439.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1538, allocations: 451 kB / 439.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1538, allocations: 8.016 kB / 439.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.154, allocations: 27.98 kB / 439.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.1543, allocations: 96.8 kB / 439.9 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1543, allocations: 8 kB / 439.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.1566, allocations: 2.077 MB / 441.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1566, allocations: 4 kB / 441.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.1574, allocations: 410.4 kB / 442.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1576, allocations: 113 kB / 442.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.1576, allocations: 0 / 442.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.1578, allocations: 27.97 kB / 442.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.1579, allocations: 23.97 kB / 442.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1579, allocations: 11.98 kB / 442.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.158, allocations: 148.7 kB / 442.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 442.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000439/0.1585, allocations: 87.89 kB / 442.7 MB, free: 4.133 MB / 366.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.001266/0.1597, allocations: 0.9444 MB / 443.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.1607, allocations: 461.1 kB / 444.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1607, allocations: 4 kB / 444.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.1612, allocations: 250.7 kB / 444.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1615, allocations: 59.11 kB / 444.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2238/0.3854, allocations: 2.716 MB / 447.2 MB, free: 23.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3856, allocations: 0.7467 MB / 447.9 MB, free: 22.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3858, allocations: 18.02 kB / 447.9 MB, free: 22.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3859, allocations: 70.3 kB / 448 MB, free: 22.97 MB / 366.1 MB Notification: Performance of SimCode: time 1.873e-06/0.3859, allocations: 0 / 448 MB, free: 22.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.4256, allocations: 7.142 MB / 455.1 MB, free: 22.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.34, allocations: 4.531 kB / 455.1 MB, free: 22.41 MB / 366.1 MB " [Timeout remaining time 648] (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 --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 sys.exit(0), Time elapsed: 16.278128586243838] Failed to read output from testmodel.py, exit status != 0: 12.42846140312031 12.450863993 12.307053944 Calling exit ...